Allow to add inherited members to the group level protected environments
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
Allow to add group members with inherited membership to group level protected environments via UI.
Screenshots or screen recordings
| Before | After |
|---|---|
| before.mov | after.mov |
How to set up and validate locally
- Create a group and a sub-group.
- Add group-level and sub-group level members.
- Create a protected environment on the sub-group level. The "Allowed to deploy" and "Approvers" lists should include members from both the group and sub-group levels.
- Edit the members in the "Allowed to deploy" and/or "Approvers" lists within the newly created protected environment. The list should include members from both group and sub-group levels.
Related to #518715 (closed)
Edited by 🤖 GitLab Bot 🤖