[Frontend] Add limit info message for policy type selector
Why are we doing this work
Pipeline execution policy, same as other policies, have maximum limit.
Policy type selector should notify user if limit is reached
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: pipeline_execution_policy_type
-
Performance: -
Testing: unit tests
Implementation plan
- Update
ee/app/assets/javascripts/security_orchestration/policy_editor.js
to include new fields:maxActivePipelineExecutionPoliciesReached
maxPipelineExecutionPoliciesAllowed
- Update ee/app/assets/javascripts/security_orchestration/components/policy_editor/policy_type_selector.vue to reflect it with warning message
Verification steps
Edited by Artur Fedorov