Commit 6106c776 authored by Mike Jang's avatar Mike Jang

Merge branch 'tancnle/doc-fix-compliance-mr-settings-flags' into 'master'

Fix feature flag names for compliance MR settings

See merge request gitlab-org/gitlab!36517
parents 6fad1782 8b2c2215
...@@ -58,13 +58,13 @@ Maintainer role and above can modify these. ...@@ -58,13 +58,13 @@ Maintainer role and above can modify these.
This feature comes with two feature flags which are disabled by default. This feature comes with two feature flags which are disabled by default.
- The configuration in Admin area is controlled via `admin_merge_request_approval_settings` - The configuration in Admin area is controlled via `admin_compliance_merge_request_approval_settings`.
- The application of these rules is controlled via `project_merge_request_approval_settings` - The application of these rules is controlled via `project_compliance_merge_request_approval_settings`.
These feature flags can be managed by feature flag [API endpoint](../../api/features.md#set-or-create-a-feature) or These feature flags can be managed by feature flag [API endpoint](../../api/features.md#set-or-create-a-feature) or
by [GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md) with the following commands: by [GitLab administrators with access to the GitLab Rails console](../../administration/feature_flags.md) with the following commands:
```ruby ```ruby
Feature.enable(:admin_merge_request_approval_settings) Feature.enable(:admin_compliance_merge_request_approval_settings)
Feature.enable(:project_merge_request_approval_settings) Feature.enable(:project_compliance_merge_request_approval_settings)
``` ```
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