diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-27 18:09:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-27 18:09:42 +0300 |
commit | 2977cf67ec27f8ab014bfee852d0ae7b56585242 (patch) | |
tree | 02f79019e66a59f9d4e07a13815c1528a963c78e /app/policies/issuable_policy.rb | |
parent | a4068557f4e8f0622798ccf824ac314e2008a57b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/issuable_policy.rb')
-rw-r--r-- | app/policies/issuable_policy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/issuable_policy.rb b/app/policies/issuable_policy.rb index f1efcb25331..3c5e1020c8a 100644 --- a/app/policies/issuable_policy.rb +++ b/app/policies/issuable_policy.rb @@ -44,6 +44,10 @@ class IssuablePolicy < BasePolicy rule { can?(:read_issue) & can?(:developer_access) }.policy do enable :admin_incident_management_timeline_event end + + rule { can?(:reporter_access) }.policy do + enable :create_timelog + end end IssuablePolicy.prepend_mod_with('IssuablePolicy') |