'Remove repository' button in the Container Registry page should not be shown for unauthenticated users
Summary
The 'Remove repository' button in the Container Registry page is shown for unauthenticated users. If you don't have access and you click it, you are redirected to a 404 page. We shouldn't show it for unauthenticated users.
Steps to reproduce
- Go to my test project https://gitlab.com/axil/pagestest/container_registry
- Click the 'Remove repository' button
- 404