There is no permission for accepting merge request... yet: issue 4763 is about that.
The app/views/projects/merge_requests/show/_mr_accept.html.haml
file refers to:
- unless @allowed_to_merge
.bs-callout
%strong You don't have permission to merge this MR
And allowed_to_merge
is defined by the function in app/controllers/projects/merge_requests_controller.rb
:
def allowed_to_merge?
action = if project.protected_branch?(@merge_request.target_branch)
:push_code_to_protected_branches
else
:push_code
end
can?(current_user, action, @project)
end
So the only control for now is based on whether or not you can push to the target branch of the merge request.
Nothing more.