Block deletion of Compliance Framework with linked Policies
What does this MR do and why?
This MR blocks deletion of compliance framework if there are linked policies
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Enable experiment
Security policy scope
under your groupSettings
▶ General
▶ Permissions and group features
- Open
Security
▶ Compliance center
,Frameworks
tab - Create compliance framework
- Create few policies under
Security
▶ Policies
and link them to one of frameworks - Edit compliance framework
- Observe delete button being enabled/disabled depending on if you have linked policies
Related to #432345 (closed)
Edited by Illya Klymov