More flexible branch-level access control
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
GitLab supports specifying roles/users who can merge or push to branches (a specific branch or multiple branches matching a wildcard) using the protected branch feature.
A customer has a demand to specify more flexible branch-level access control. This includes the following.
- Only the specific users/roles can read branches
- Only the specific users/roles can perform force push, but others only can perform non-force push to branches
- Only the specific users/roles can open merge request to/from branches
- Other flexible access controls, such as those supported by Gerrit
Link to request (Internal): https://gitlab.zendesk.com/agent/tickets/566188
Edited by 🤖 GitLab Bot 🤖