Operations -> Kubernetes always visible and 404 on Operations
Summary
When disabling all permissions for a repository, the Operations and Operations -> Kubernetes menu items are still visible. The Operations menu item redirects to a 404 - and the Kubernetes one prompts to add a cluster.
I'm not sure if this is either a bug or feature request, but I feel like those should be hidden when the repository is disabled - so this is which why I've posted it as as bug.
Steps to reproduce
Disable all permissions.
Example Project
https://gitlab.com/0100Dev/Cloudbear/Cloudbear
What is the current bug behavior?
The menu items are visible and the link does not work to the Operations page.
What is the expected correct behavior?
The menu items are hidden and the link works to the Operations page.
Relevant logs and/or screenshots
Output of checks
GitLab.com.