Skip to content

Fix default compliance framework bug in admin mode

sameer shaik requested to merge compliance-fix into master

What does this MR do and why?

When the default compliance framework is set up on the group, that framework should automatically apply to projects that newly created under the group or its subgroups.

However, if the Admin mode is enabled in the instance, the default compliance framework is not automatically apply to projects.

This MR is to fix this bug: #426667 (closed)

Screenshots or screen recordings

Detailed explanation about this bug: #426667 (closed)

How to set up and validate locally

  1. Set up the default compliance framework to a project
  2. Enable the Admin mode
  3. Create a project under the group and notice that the default compliance framework is not applied to the new project.
  4. Checkout this feature branch (compliance-fix) and perform the above steps and notice that the compliance framework applies to the new projects in admin mode.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by sameer shaik

Merge request reports