diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-11 15:09:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-11 15:09:03 +0300 |
commit | b9ab87c14ce9ebe8284aeffa32c1cee934156e58 (patch) | |
tree | 85c5a1c4febe868ad0090ab6795f6fe548714541 /app/policies/incident_management | |
parent | fb7b6bceee41fc6e5dba72a24519dec8f2713075 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/incident_management')
-rw-r--r-- | app/policies/incident_management/timeline_event_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/incident_management/timeline_event_policy.rb b/app/policies/incident_management/timeline_event_policy.rb new file mode 100644 index 00000000000..514a2bf0a56 --- /dev/null +++ b/app/policies/incident_management/timeline_event_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module IncidentManagement + class TimelineEventPolicy < ::BasePolicy + delegate { @subject.incident } + end +end |