It's possible to take one's own permissions in a group
Summary
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.
Example Project
Private group (I added a colleague of mine before taking my own access to recover the group if necessary):
https://gitlab.com/groups/timwollas-test-group
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