Group projects dropdown can also load groups
What does this MR do and why?
This MR adds:
- Option to load only groups for
group_projects_dropdown
- Previously it loaded only projects
- Now it supports group mode
This is first iteration before next issue [Frontend] Add group/subgroup option in policy ... (#470059 - closed) • Artur Fedorov • 17.4 • On track
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
***NO VISUAL CHANGES***
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to group/project
- Secure -> Policies -> New policy
- New approval or scan execution policy
- In policy scope section select specific projects or all projects with exceptions
- Make sure project dropdown loads projects
- You can set
groupsOnly
propdefault
totrue
and check that only groups are loaded
Related to #470057 (closed)
Edited by Artur Fedorov