diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-08-19 22:43:41 +0300 |
---|---|---|
committer | Jarka Košanová <jarka@gitlab.com> | 2018-09-04 13:25:18 +0300 |
commit | d729ea19dac6a5d3ae4073a4050eda7b1215fd75 (patch) | |
tree | 53ca95eaa40b4af1c3cde140cd607d3c853e20a6 /app/policies/issuable_policy.rb | |
parent | be1ef711edb13114cf6478821293bb2f0821e75c (diff) |
Restrict reopening locked issues for issue authors
Diffstat (limited to 'app/policies/issuable_policy.rb')
-rw-r--r-- | app/policies/issuable_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/issuable_policy.rb b/app/policies/issuable_policy.rb index 198bb168d85..6d8b575102e 100644 --- a/app/policies/issuable_policy.rb +++ b/app/policies/issuable_policy.rb @@ -14,6 +14,7 @@ class IssuablePolicy < BasePolicy rule { assignee_or_author }.policy do enable :read_issue enable :update_issue + enable :reopen_issue enable :read_merge_request enable :update_merge_request end |