Shared subgroups for group protected environment
What does this MR do and why?
This MR implements #437641 (closed) and adds a include_shared_groups
parameter to the /-/autocomplete/group_subgroups.json
endpoint
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create group
main
- Assign the group to
Ultimate
plan (view the group in admin area, and select an Ultimate plan inPermissions and group features
section. - Create sub-group
users
- Create a group
invited-group
- Invite this group to the
main
group (go to themain
group page, navigate toManage -> Members
- Navigate to group level CI/CD settings for `main group
- Create new protected environment
- Check that both groups are selectable in the protected environment (
users
andinvited group
)
Edited by Andrei Zubov