Restrict pushes / merges to a protected branch to specific groups
Parent: gitlab-org/gitlab-ee#179
Proposal
-
According to current / planned features in CE, here's the list of possible restrictions for pushing/merging to a protected branch:
- Masters can push
- Developers can push
- No one can push
- Masters can merge
- Developers can merge
-
To this list, this issue proposes adding the ability to add restrictions based on one or more specific groups:
- "Group A, B & C" can push (and no one else, regardless of Master status)
- "Group A, B & C" can merge (and no one else, regardless of Master status)
Implementation Details
- any group can be set
- the group should automatically have this project shared with it (using the 'share with group' feature)
- should be communicated in the UI