It's possible to take one's own permissions in a group
It is possible to take one's own Owner permissions in a group.
Steps to reproduce
- Create a new group.
- Go to the list of group members.
- Input your own username in the search field.
- Select a permission other than Owner.
- Press Add to Group.
Private group (I added a colleague of mine before taking my own access to recover the group if necessary):
What is the current bug behavior?
I am losing my own access.
What is the expected correct behavior?
Nothing should happen, as I cannot change my access in the list of users below either.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com