Skip to content
Snippets Groups Projects
Commit d45b4065 authored by http://jneen.net/'s avatar http://jneen.net/
Browse files

make sure users have to be able to read_pipeline

to get pipeline failed notifications
parent 46d0bfdc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment