Commit 57c07954 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'rw/docs-no-selective-disable-ff' into 'master'

Adding docs for feature flag disabling

See merge request gitlab-org/gitlab!51651
parents 239e2007 a4dfff99
...@@ -226,6 +226,22 @@ you should fully roll out the feature by enabling the flag **globally** by runni ...@@ -226,6 +226,22 @@ you should fully roll out the feature by enabling the flag **globally** by runni
This changes the feature flag state to be **enabled** always, which overrides the This changes the feature flag state to be **enabled** always, which overrides the
existing gates (e.g. `--group=gitlab-org`) in the above processes. existing gates (e.g. `--group=gitlab-org`) in the above processes.
##### Disabling feature flags
To disable a feature flag that has been globally enabled you can run:
```shell
/chatops run feature set some_feature false
```
To disable a feature flag that has been enabled for a specific project you can run:
```shell
/chatops run feature set --group=gitlab-org some_feature false
```
You cannot selectively disable feature flags for a specific project/group/user without applying a [specific method of implementing](development.md#selectively-disable-by-actor) the feature flags.
### Feature flag change logging ### Feature flag change logging
#### Chatops level #### Chatops level
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment