diff options
Diffstat (limited to 'app/services/incident_management/timeline_events/base_service.rb')
-rw-r--r-- | app/services/incident_management/timeline_events/base_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/incident_management/timeline_events/base_service.rb b/app/services/incident_management/timeline_events/base_service.rb index cae58465e4a..7168e2fdd38 100644 --- a/app/services/incident_management/timeline_events/base_service.rb +++ b/app/services/incident_management/timeline_events/base_service.rb @@ -3,6 +3,8 @@ module IncidentManagement module TimelineEvents class BaseService + include Gitlab::Utils::UsageData + def allowed? user&.can?(:admin_incident_management_timeline_event, incident) end |