Move update_merge_request ability to Developer

Closes #13663
This commit is contained in:
Robert Speicher 2016-03-04 15:52:52 -05:00
parent ec68d673b2
commit e6204eb3cb

View file

@ -188,6 +188,7 @@ class Ability
def project_dev_rules def project_dev_rules
@project_dev_rules ||= project_report_rules + [ @project_dev_rules ||= project_report_rules + [
:admin_merge_request, :admin_merge_request,
:update_merge_request,
:create_commit_status, :create_commit_status,
:update_commit_status, :update_commit_status,
:create_build, :create_build,
@ -212,7 +213,6 @@ class Ability
@project_master_rules ||= project_dev_rules + [ @project_master_rules ||= project_dev_rules + [
:push_code_to_protected_branches, :push_code_to_protected_branches,
:update_project_snippet, :update_project_snippet,
:update_merge_request,
:admin_milestone, :admin_milestone,
:admin_project_snippet, :admin_project_snippet,
:admin_project_member, :admin_project_member,