Commit a4dfff99 authored by Ricky Wiens's avatar Ricky Wiens Committed by Marcia Ramos

Adding docs for feature flag disabling

- There were no docs about disabling feature flags in the feature flag
  controls section.
parent 1ae7050e
...@@ -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