Add fallback behavior toggle
What does this MR do and why?
Add fallback behavior toggle
- if property not provided, set as closed
Changelog: changed
EE: true
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.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Upload a GitLab Ultimate license
- Navigate to a project/group => Secure => Policies => New policy => Merge request approval policy
- Verify the toggle reflects the yaml and updates it
- Navigate to a project/group => Secure => Policies => Select and existing merge request approval policy => Edit policy
- Verify the toggle reflects
closed
whenfallback_behavior
is not in the yaml - Verify changing the toggle adds to the yaml
Related to #451662 (closed)