diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 675b4536a2640859fe664437146aac5bd88b7866..c330d62a2ce8e52c1403b522565015f9d93f3344 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -308,7 +308,8 @@ class NotificationService recipients ||= NotificationRecipientService.notifiable_users( [pipeline.user], pipeline.project, :watch, - custom_action: :"#{pipeline.status}_pipeline" + custom_action: :"#{pipeline.status}_pipeline", + read_ability: :read_pipeline, ).map(&:notification_email) if recipients.any?