api/1_manage/user/minimal_access_user_spec.rb | Manage User with minimal access to group is not allowed to create a file via the API
Documentation: https://docs.gitlab.com/ee/user/permissions.html#users-with-minimal-access
Issue: gitlab-org/gitlab#220203 (closed) (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 - Create a new file via the API
- The POST request to create a new file should not succeed