Enabling member lock and group lock allows the project to be shared with a group
Summary
When selecting both member lock and group lock, users are able to share a group with another group.
How to reproduce
- Head to group settings and enable both member lock and share with group lock
- Head to a project within the group and go to the member settings
- Share the project with another group
- Project is shared successfully
What is the current bug behavior?
Project is able to be shared.
What is the expected correct behavior?
Project should not be able to be shared.
Relevant logs and/or screenshots
This bug happens on GitLab.com and affects subgroups as well
Edited by Cindy Pallares 🦉

