Skip to content

Remove action menu when user can't delete in container registry details

What does this MR do and why?

In this MR we remove the right action menu (instead of disabling the delete button)

Screenshots or screen recordings

Before After
https://gitlab.com/gitlab-org/gitlab/uploads/c39853e26c70d881ec9541ba247273c5/Screenshot_2021-10-04_at_16.09.15.png Screenshot_2022-01-06_at_18.38.42

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Have the container registry up and running: https://gitlab.com/gitlab-org/ci-cd/package-stage/package/-/wikis/Packages-Tips-&-Tricks#how-to-add-images-with-tags-quickly-to-the-registry
  2. As a non logged in user visit the an image details page

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #342311 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports

Loading