Skip to content

Select all and reset for group project dropdown

Artur Fedorov requested to merge 442536-policies-group-projects-select-all into master

What does this MR do and why?

This MR adds select all and reset options for group_projects_dropdown

Only for multiple option

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.

Description UI
Select all Screenshot 2024-02-27 at 00.55.30.png
Reset Screenshot 2024-02-27 at 00.55.36.png
No new action for single selection Screenshot 2024-02-27 at 00.57.56.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Feature.enable(:security_policies_policy_scope)
Feature.enable(:security_policies_policy_scope_project)
  1. Go to Settings -> General
  2. Toggle the Permissions and group features section
  3. Enable Security policy scope
  4. Go to Project/Group
  5. Secure -> Policies -> New Policy -> result or execution policy
  6. Select all projects in group with exceptions or specific projects in policy scope
  7. Make sure you see select all option and clear all after some items were selected

Related to #442536 (closed)

Edited by Artur Fedorov

Merge request reports