Commit 6fffce07 authored by Mike Jang's avatar Mike Jang

Merge branch 'update-compliance-policy-docs' into 'master'

Update feature flag documentation for compliance framework

See merge request gitlab-org/gitlab!56253
parents 015bca05 390ec1ac
...@@ -44,6 +44,7 @@ Compliance framework labels do not affect your project settings. ...@@ -44,6 +44,7 @@ Compliance framework labels do not affect your project settings.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/276221) in GitLab 13.9. > - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/276221) in GitLab 13.9.
> - It's [deployed behind a feature flag](../../feature_flags.md), disabled by default. > - It's [deployed behind a feature flag](../../feature_flags.md), disabled by default.
> - It can be enabled or disabled for a single group
> - It's disabled on GitLab.com. > - It's disabled on GitLab.com.
> - It's not recommended for production use. > - It's not recommended for production use.
> - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-or-disable-custom-compliance-frameworks). **(PREMIUM)** > - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-or-disable-custom-compliance-frameworks). **(PREMIUM)**
...@@ -329,11 +330,11 @@ can enable it. ...@@ -329,11 +330,11 @@ can enable it.
To enable it: To enable it:
```ruby ```ruby
Feature.enable(:ff_custom_compliance_frameworks) Feature.enable(:ff_custom_compliance_frameworks, Group.find(<group id>))
``` ```
To disable it: To disable it:
```ruby ```ruby
Feature.disable(:ff_custom_compliance_frameworks) Feature.disable(:ff_custom_compliance_frameworks, Group.find(<group id>))
``` ```
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