Skip to content

Support `project`, `group` and `user` actors for `incubation-5mp` feature flag

Sri Rang requested to merge incubation-5mp-feature-flag-actors into master

What does this MR do and why?

Support all three actor scopes for the incubation-5mp-google-cloud usages.

This will let us enable this feature on gitlab.com (and other instances) selectively per user, per project or per group.

First real-world use-case is when the GCP Cloud Run team's Trusted Testers will be invited to a private test group.

Screenshots or screen recordings

None, purely backend change.

How to set up and validate locally

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

  1. Setup GDK for Google OAuth2
  2. Enable the incubation-5mp-google-cloud for each combination:
    • Enable for user
    • Enable for group
    • Enable for project
  3. For each enablement, verify if the Infra :: Google Cloud menu item and page show up in a project

MR acceptance checklist

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

Merge request reports