Backend implementation to allow a group to be granted access to a protected branch.
1. A protected branch access level `belongs_to` a group in addition to a user. When access for a user is checked, see if the user is present in the access level's group, if any. 2. If a group is added to a project with `:reporter` access or lower, adding a group to a proteted branch does _not_ grant access, since the `push_code` ability is still checked. This is tested with a few hundred new tests in `git_access_spec`.
Showing
Please register or sign in to comment