Skip to content

Add fallback property to yaml

Alexander Turinske requested to merge 451661-add-fallback-yaml into master

What does this MR do and why?

Add fallback property to yaml

  • toggle yaml with feature flags
    • push up the project-level feature flag
    • create and push a group-level feature flag

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.

Scenario ff off ff on
project project_fallback_-_off project_fallback_-_on
group group_fallback_-_off group_fallback_-_on

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. Enable the feature flag
echo "Feature.enable(:merge_request_approval_policies_fallback_behavior)" | rails c
  1. Navigate to a group/project => Secure => Policies => New policy => Merge request approval policy
  2. Verify the fallback property appears in the yaml

Related to #451661 (closed)

Edited by Alexander Turinske

Merge request reports