api/1_manage/user/minimal_access_user_spec.rb | Manage User with minimal access to group is not allowed to push code via the CLI
Documentation: https://docs.gitlab.com/ee/user/permissions.html#users-with-minimal-access
Issue: gitlab-org/gitlab#220203 (closed)
Steps:
- Create a new project, sub-group and a user
- Add user to the top level group (
gitlab-qa-sandbox-group) with minimal access role - Push a new file via the CLI
- Push should not be allowed