diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-20 15:09:18 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-20 15:09:18 +0000 |
commit | 364f6f2e33e6f5eafe63b25d9256b88e72141b1c (patch) | |
tree | ee6dc003a354e7466d5c45e5587c0f8172312122 /doc/development/feature_flags | |
parent | 98252e0dd60cbcb316231085e206d9872f243b8a (diff) | |
download | gitlab-ce-364f6f2e33e6f5eafe63b25d9256b88e72141b1c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/feature_flags')
-rw-r--r-- | doc/development/feature_flags/controls.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/development/feature_flags/controls.md b/doc/development/feature_flags/controls.md index 3799672ee11..731fd7171f0 100644 --- a/doc/development/feature_flags/controls.md +++ b/doc/development/feature_flags/controls.md @@ -127,6 +127,18 @@ For groups the `--group` flag is available: /chatops run feature set --group=gitlab-org some_feature true ``` +Note that actor-based gates are applied before percentages. For example, considering the +`group/project` as `gitlab-org/gitlab` and a given example feature as `some_feature`, if +you run these 2 commands: + +``` +/chatops run feature set --project=gitlab-org/gitlab some_feature true +/chatops run feature set some_feature 25 +``` + +Then `some_feature` will be enabled for 25% of the users interacting with +`gitlab-org/gitlab`, and no one else. + ## Cleaning up Once the change is deemed stable, submit a new merge request to remove the |