Skip to content

Scope checking security-policies experimental feature flag to group

What does this MR do and why?

This MR fixes a problem where settings for security policies experimental toggles cannot be saved when feature is not enabled globally. This should be scoped to the group-level instead. This MR fixes that.

How to set up and validate locally

  1. Disable security_policies_policy_scope and compliance_pipeline_in_policies features globally
  2. Create new group
  3. Enable security_policies_policy_scope, compliance_pipeline_in_policies features for newly created group
  4. Go to Group -> Settings -> General -> Permissions and group features and try to toggle and save experimental features: image
  5. You should be able to do it.
Edited by Alan (Maciej) Paruszewski

Merge request reports

Loading