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

  1. Head to group settings and enable both member lock and share with group lock
  2. Head to a project within the group and go to the member settings
  3. Share the project with another group
  4. 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

Settings___Public_Test_Group___GitLab

Members___Public_Test_Group___testapp-2_0___GitLab

https://gitlab.zendesk.com/agent/tickets/88284

Edited Jan 02, 2018 by Cindy Pallares 🦉
Assignee Loading
Time tracking Loading