Skip to content

Add limit warning message for policy type

What does this MR do and why?

Add limit warning message

Warning message for new pipeline execution policy type when max limit has been reached

Related backend MR has been merged

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
Limit has been reached Screenshot 2024-04-22 at 22.57.16.png

How to set up and validate locally

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

  1. Enable feature flag

    Feature.enable(:pipeline_execution_policy_type)
  2. Go to Settings -> General

  3. Toggle the Permissions and group features section

  4. Enable Security policy pipeline execution action

  5. Go to group/project

  6. Secure -> Policies -> New policy

  7. Open ee/app/assets/javascripts/security_orchestration/components/policy_editor/policy_type_selector.vue

  8. Set line 110 to hasMax: true,

Related to #456872 (closed)

Edited by Artur Fedorov

Merge request reports