Show Error Message When Delete Feature Flag User List Fails

What does this MR do?

Show an error message in the UI when attempting to delete a feature flag user list that is in use.

Previously, the list was not deleted, but the UI displayed an incorrect error message and stopped displaying the user lists.

Screenshots

Before:

Screen_Recording_2020-07-09_at_5.44.09_PM

After:

Screen_Recording_2020-07-09_at_5.46.50_PM

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 Jason Goodman

Merge request reports

Loading