Skip to content

Add fallback behavior information to policy drawer

What does this MR do and why?

Add fallback behavior information to policy drawer

  • add section for fallback behavior

Changelog: added

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.

property does not exist fail: closed fail:open
not_added image image

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 => Secure => Policies => New policy => Merge Request Approval Setting
  3. The fallback property should show by default in the yaml
  4. Create a policy with the fallback property
  5. Navigate to the project => Secure => Policies => Select the new policy
  6. Verify the drawer

Alternatively you can add the below yaml to any existing policy

fallback_behavior:
  fail: closed
#  fail: open

Related to #451660 (closed)

Edited by Alexander Turinske

Merge request reports