Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,000
    • Issues 43,000
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,354
    • Merge requests 1,354
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #34363
Closed
Open
Created Oct 17, 2019 by Mike Nichols@mnichols1Developer

Allow userWithId to be defined per environment spec

Problem: Users cannot achieve their mission with the current UI

Born from #14017 (closed). Currently, users cannot specify userWithId strategy to a specific environment scope. For example, users cannot accomplish this simple task today:

  • Enable awesome_feature flag on staging
  • Enable awesome_feature flag for a specific user on production

This is a very common usage but we do not support today.

Because of this, we cannot dogfood our FeatureFlag feature as that it's already supported in Flipper and it's actively used in GitLab development process.

Proposal

  • Let users set strategy per scope.
  • Add strategy option User ids
  • Add checkbox to percent rollout to enable fields to add additional ids
  • Default checkbox to unchecked
  • When checked display textbox to input user ids
  • When an environment is toggled off disable all associated inputs
  • Remove Target Users section

New_Feature_Flag

Scenario Mockup
All users All_users
User ids User_ids
Percent rollout Percent_Rollout_no_additional
Percent rollout with additional user ids checked Percent_Rollout_with_additional
Disabled Disabled
Mobile New_Feature_Mobile
Edited Oct 29, 2019 by Mike Nichols
Assignee
Assign to
Time tracking