Handle framework deletion

Parent Epic

&15864

Background

We're introducing the ability to designate a group as the Compliance and Security Policy (CSP) group. Frameworks and policies created in this group can be enforced across all top-level groups in the instance.

Implementation

When a framework is removed from the CSP Group, or when a CSP Group is unassigned, all framework settings will need to be updated for the relevant frameworks so that we do not allow orphaned project settings to exist.

Acceptance Criteria

  • When a CSP Group is unassigned, all relevant framework settings are updated for projects.
  • When a framework for a CSP Group is deleted, the framework settings are updated for all related projects that used the framework.
Edited by 🤖 GitLab Bot 🤖