Draft: Create warning modal for changing the csp

What does this MR do and why?

Create warning modal for changing the csp

  • changing the csp can lead to performance issues
  • create a modal anytime the csp has changed

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Upload a GitLab Ultimate license
  2. Go to http://gdk.test:3443/rails/features and enable the security_policies_csp feature flag
  3. Navigate to Admin => Settings => Security and compliance
  4. Verify a user can set/unset the CSP group and the modal appears

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #559275 (closed)

Merge request reports

Loading