Updates approval selector dropdown
What does this MR do and why?
The code diff is related to the Approver Selection Wrapper component, which allows users to select approver types for security policies. The changes include:
- Adding a tooltip to the "disabled" badge on the approver type selector, explaining that the option can only be used once.
- Adding a check to prevent users from selecting an approver type that has already been selected.
- Updating the i18n (internationalization) strings for the component.
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 |
---|---|
Before | |
After |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to Group/Project
- Secure -> Policies
- New approval policy
- Go to action section
- Select approval type
Related to #465290 (closed)