Skip to content

Remove select/clear all button for project select

Alexander Turinske requested to merge 437943-update-selectors into master

What does this MR do and why?

Remove select/clear all button for project select

  • this feature is not needed because it is used in situations where a user should not be selecting/clearing all

Changelog: changed

EE: true

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.

Scenario Before After
policy scope ps_ex_-_b ps_ex_1_-_b ps_ex_-_a
code action ca_select_-_b ca_select_project_-_a
instances
image

How to set up and validate locally

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

  1. Upload a GitLab Ultimate license
  2. Create a group => Navigate to Settings => General => Enable security policy scope and security policy code actions
  3. Navigate to the group => Secure => Policies => New policy => Scan Execution policy => Add new action => Run CI/CD code => Run Linked existing CI file
  4. Verify a policy can be selected and the select/clear all buttons do not appear
  5. Verify the scope section allows for project selection and the select/clear all buttons do not appear

Related to #437943 (closed)

Edited by Alexander Turinske

Merge request reports