Skip to content

Commit

Permalink
Enable subscriptions for admin
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Sep 22, 2023
1 parent 550966a commit 64810e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/lib/tasks/dev/rake_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def self.subscribe_to_all_notifications(user)
create(:event_subscription_comment_for_request, channel: :web, user: user, receiver_role: 'target_maintainer')
create(:event_subscription_relationship_create, channel: :web, user: user, receiver_role: 'any_role')
create(:event_subscription_relationship_delete, channel: :web, user: user, receiver_role: 'any_role')
create(:event_subscription_create_report, channel: :web, user: user)

user.groups.each do |group|
create(:event_subscription_request_created, channel: :web, user: nil, group: group, receiver_role: 'target_maintainer')
Expand Down

0 comments on commit 64810e3

Please sign in to comment.