Skip to content

Fix compliance framework edit button loading on delete

Jiaan Louw requested to merge jl-fix-compliance-frameworks-edit-loading into master

What does this MR do?

This resolves a small bug where the compliance frameworks edit button would show loading when the framework is being deleted.

Setup & Testing

  1. Enable the development feature flag in rails console: Feature.enable(:ff_custom_compliance_frameworks)
  2. Navigate to a group's general settings [GDK_HOST]/groups/gitlab-org/-/edit#js-compliance-frameworks-settings
  3. Add a compliance framework and then delete it

Screenshots (strongly suggested)

Before After
Kapture_2021-03-10_at_16.01.25 Kapture_2021-03-10_at_15.58.05

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Jiaan Louw

Merge request reports