Skip to content

Rollout UserWithId Per Environment Spec

Jason Goodman requested to merge userwithid-per-env-backend into master

What does this MR do?

Issue: #34363 (closed)

This MR does the following:

  • Migrate existing feature flag scope data

The current target users feature (https://docs.gitlab.com/ee/user/project/operations/feature_flags.html#target-users-strategy) interprets a disabled scope in the database with a userWithId strategy as an enabled scope for Unleash clients. This was implemented here: !15500 (merged)

This makes this change permanently in the database, so that we aren't changing a user's effective feature flag settings.

The data migration in this MR is expected to take a few seconds to run on gitlab.com. (!20325 (comment 250837047))

Screenshots

New target environments after this MR:

Screen_Shot_2019-11-21_at_2.27.55_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Jason Goodman

Merge request reports