Skip to content

Improve "Share with group lock" feature for subgroups

What does this MR do?

When parent group has lock on sharing project with other groups - this restriction should apply on subgroups too. Subgroup should be able to apply lock if parent group does not have one. But it should not allow subgroup to release lock if parent group has one. And the UI should explain the behavior to the user.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/30550

Edited by username-removed-1144264

Merge request reports