Group permissions not working correctly with Merge Request
Summary
Group permissions not working correctly with Merge Request.
Steps to reproduce
Group structure:
Master_Group Sub_Group
- Add user to Sub_Group with permissions of Developer
- Add the Sub_Group to a Project in Master_Group with permissions of Masters
- Set the Project's Protected Branch Permissions to allow Masters to Merge
- Trye to Merge pull request (should show"Ready to be merged automatically. Ask someone with write access to this repository to merge this request")
Example Project
https://gitlab.com/789456123/some_name/merge_requests/1
What is the current bug behavior?
Merge button inactive with a message Ready to be merged automatically. Ask someone with write access to this repository to merge this request
What is the expected correct behavior?
Active Merge button
Output of checks
This bug happens on GitLab.com and GitLab CE