Skip to content

Default branch protection settings for application setting

What does this MR do and why?

Default branch protection settings for application setting

This commit adds defualt values for application setting default_branch_protectin_column and settings hierarchy for namespace

We're transitioning from using an integer as our default branch protection setting to implementing a new JSON column.
This MR ensures that the JSON column has a default value, similar to what we had for the integer column. It also adds a new method in the namespace for the retrieval of these settings, Final usage of columns will be pushed in follow-ups, I am doing this to keep MR size small and which makes it easy to review, I realised single MR for this will be both tough to code and review !133967 (closed)

Changelog: added

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #408152 (closed)

Edited by Harsimar Sandhu

Merge request reports

Loading