Skip to content

Hide tags delete button when none can be deleted

What does this MR do?

If the user does not have access to delete the tags this MR hides the multi delete button, leaving the row delete button as disabled with an info-popup for the user

Screenshots

Has delete permission

Screenshot_2020-07-08_at_13.31.58

Does not have delete permission

Screenshot_2020-07-08_at_13.35.30

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

Part of #227016 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports

Loading