Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No "accept merge request" button with developer level access

Tags:

git

gitlab

I'm not seeing an "Accept Merge Request" button in gitlab despite having "Developer" level access. Instead there is this message:

Ready to be merged automatically

Ask someone with write access to this repository to merge this request.

According to the documentation, users with "Developer" access have the ability to "manage merge requests", but this doesn't seem possible in this case. I have two "Developer" level users that are seeing this problem, one of which pushed the project to the gitlab instance to begin with. I assume he must have write access?

Version information below

GitLab 7.14.3
GitLab Shell 2.6.5
GitLab API v3
Ruby 2.1.6p336
Rails 4.1.11 

Please let me know if any more info is required.

like image 863
ticktockhouse Avatar asked Sep 23 '15 11:09

ticktockhouse


People also ask

Can GitLab merge with developer?

Only users in the developer or maintainer role in GitLab can merge branch into master or push a GitLab branch into master. For users who haven't been granted the appropriate rights, a merge request is required to merge a topic branch or feature branch into master on GitLab.

How do I reject a merge request on GitHub?

In GitHub after done with a review, you can "comment" or "approve" or "request changes" on the PR/MR. If changes are requested it prevents the PR from being merged.


1 Answers

Developers can accept merge requests. However, it depends on how the project is configured, too.

Developers can accept merge requests when:

  1. The merge target is not a protected branch.
  2. The merge target is a protected branch, if an owner/maintainer has checked the 'Developers can push' checkbox on the protected branch setting.

If a developer is seeing the message you describe it is probably because of a protected branch and the 'Developers can push' box is unchecked.

like image 169
Drew Blessing Avatar answered Oct 14 '22 08:10

Drew Blessing