Replace feature flag with application setting for pipeline variables

What does this MR do and why?

Replace feature flag with application setting for pipeline variables

Replace the change_namespace_default_role_for_pipeline_variables feature flag with the pipeline_variables_default_allowed application setting to control default pipeline variable access roles in namespace settings.

This change allows administrators to configure pipeline variable security through application settings instead of feature flags, providing better administrative control over default security posture.

The default behavior remains the same - pipeline variables default to developer role access when the setting is enabled (true), and restrict to no access when disabled (false).

Changelog: changed

References

We use the setting introduced in !190833 (merged)

Screenshots or screen recordings

NA

How to set up and validate locally

  1. No operational change, it works just like the old feature flag, but without the feature flag now.
  2. Play with the setting and see the value being changed in namespace and projects.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #515794 (closed)

Edited by Rajendra Kadam

Merge request reports

Loading