Skip to content

Scope feature flag to root namespace

mo khan requested to merge mokhax/412693/root-ancestor into master

What does this MR do and why?

This change scopes the usage of the :disable_developer_access_to_admin_vulnerability to a root namespace to cover a full group hierarchy.

#412693 (closed)

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.

How to set up and validate locally

  1. In rails console enable the experiment on a root namespace
    Feature.enable(:disable_developer_access_to_admin_vulnerability, group)
  2. Sign in as a Developer
  3. Visit any group or project vulnerability report underneath the root group http://127.0.0.1:3000/groups/<root-group>/-/security/vulnerability_report
  4. The ability to change the vulnerability status should not be available.

Merge request reports

Loading