diff --git a/src/api/app/models/event_subscription/form.rb b/src/api/app/models/event_subscription/form.rb index 1c77076cab4..15eeefff1cd 100644 --- a/src/api/app/models/event_subscription/form.rb +++ b/src/api/app/models/event_subscription/form.rb @@ -45,8 +45,11 @@ def find_or_initialize_subscription(eventtype, receiver_role, channel) def show_form_for_create_report_event?(event_class:, subscriber:) if event_class.name.in?(['Event::ReportForProject', 'Event::ReportForPackage', 'Event::ReportForComment', 'Event::ReportForUser']) - # There is no subscriber for the global subscription configuration - return false if subscriber.blank? + # There is no subscriber associated to "global" event subscriptions + # which are set through the admin configuration interface. + # Admin user should be able to configure all event subscription types, + # even if they are not participating in the corresponding beta program + return true if subscriber.blank? return false unless ReportPolicy.new(subscriber, Report).notify? end