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 |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Enable feature flag
Feature.enable(:pipeline_execution_policy_type)
-
Go to Settings -> General
-
Toggle the Permissions and group features section
-
Enable Security policy pipeline execution action
-
Go to group/project
-
Secure -> Policies -> New policy
-
Open ee/app/assets/javascripts/security_orchestration/components/policy_editor/policy_type_selector.vue
-
Set line 110 to
hasMax: true
,
Related to #456872 (closed)