Skip to content

Group projects dropdown can also load groups

What does this MR do and why?

This MR adds:

  1. Option to load only groups for group_projects_dropdown
  2. Previously it loaded only projects
  3. Now it supports group mode

This is first iteration before next issue [Frontend] Add group/subgroup option in policy ... (#470059) • Artur Fedorov • 17.3 • 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.

  1. Go to group/project
  2. Secure -> Policies -> New policy
  3. New approval or scan execution policy
  4. In policy scope section select specific projects or all projects with exceptions
  5. Make sure project dropdown loads projects
  6. You can set groupsOnly prop default to true and check that only groups are loaded

Related to #470057 (closed)

Edited by Artur Fedorov

Merge request reports