Fix default compliance framework bug in admin mode
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
- Set up the default compliance framework to a project
- Enable the Admin mode
- Create a project under the group and notice that the default compliance framework is not applied to the new project.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by sameer shaik