Update policy errors to be consistent
What does this MR do and why?
Describe in detail what your merge request does and why.
Update policy errors to be consistent Alexander Turinske authored 2 minutes ago
- add a title for alert
Changelog: changed
EE: true
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Error from the backend (not affected by this MR) |
---|
Scenario | Before | After |
---|---|---|
Empty policy name | ||
non-existent policy branch |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Upload a GitLab Ultimate licence
- Navigate to http://gdk.test:3443/flightjs/Flight/-/security/policies/new?type=scan_execution_policy
- Click
Configure with merge request
and verify the error - Add a name and type in a non-existent branch and click 'Configure with merge request' and verify the error
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #362752 (closed)