Skip to content

Add fallback behavior toggle

Alexander Turinske requested to merge 451662-add-fallback-property-toggle into master

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.

Screenshot_2024-05-16_at_14.28.49

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a project/group => Secure => Policies => New policy => Merge request approval policy
  3. Verify the toggle reflects the yaml and updates it
  4. Navigate to a project/group => Secure => Policies => Select and existing merge request approval policy => Edit policy
  5. Verify the toggle reflects closed when fallback_behavior is not in the yaml
  6. Verify changing the toggle adds to the yaml

Related to #451662 (closed)

Merge request reports