Owner cannot remove members of a project if they are members of a group
Summary
When I create new repository all members of my group are automatically added as members of this repo. When I want to remove someone from the repo, I don't see a button "remove from repository". It only happens to users that were automatically added. If I added someone myself, I can remove them without any problems.
Steps to reproduce
- Create a new repository in a group as an owner. (All group members will be added automatically as members of this repo)
- Try to delete one of the members at https://gitlab.com/<name_of_the_group>/<name_of_the_project>/settings/members
What is the current bug behavior?
Cannot delete any member. The bin icon is not visible.
What is the expected correct behavior?
Bin icon near every member.
Output of checks
This bug happens on GitLab.com
My workaround
Change permissions of a user you want to remove. Then the bin icon will appear and you will be able to remove them from a repository.
After refreshing a page, I see that members of a group are still members of a repo, so this doesn't work either.
Edited by Agata Grdal