diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-07-23 14:48:55 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-07-23 14:48:55 -0400 |
commit | 5adc9aa3947dacc0e67d5edc65ddbc133e88af82 (patch) | |
tree | b98bb7031444190c83be040bff546c15bf92406b | |
parent | 7e262ebf157f2af4658485aae7073d315648cfa7 (diff) | |
download | gitlab-ce-rs-issue-2058.tar.gz |
Add admin_merge_request ability to Reporter levelrs-issue-2058
This was necessary because this permission is checked dynamically by
`app/views/shared/issuable/_context` when on a Merge Request.
Closes #2058
-rw-r--r-- | app/models/ability.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index 9258d981ac9..f984f8c85a8 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -141,6 +141,7 @@ class Ability :update_issue, :admin_issue, :admin_label, + :admin_merge_request ] end |