diff options
author | Jan Beckmann <king-jan1999@hotmail.de> | 2019-03-08 11:34:20 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-03-08 11:34:20 +0300 |
commit | eba4b9404f152f6ad8c4be62116cbe5fd0662b0d (patch) | |
tree | e2dd3ecdbf30d35eed819b5a6f71cd40f152b9d5 /app/policies/project_policy.rb | |
parent | 6648188121ba8c044f104ff491a3b20a53167c64 (diff) |
Disallow reopening of locked merge requests
Fixes #56864
Diffstat (limited to 'app/policies/project_policy.rb')
-rw-r--r-- | app/policies/project_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index cf257ed47c8..9f9f5230040 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -231,6 +231,7 @@ class ProjectPolicy < BasePolicy enable :admin_merge_request enable :admin_milestone enable :update_merge_request + enable :reopen_merge_request enable :create_commit_status enable :update_commit_status enable :create_build |