Alert widgets shown for non-licensed instance
Summary
On GitLab EE alert widgets are visible even the instance does not have a license.
The alert widgets should only be visible with a GitLab Ultimate license.
Note: Creating/modifying alerts is not possible, though.
Steps to reproduce
- Create a project
- Setup Kubernetes
- Enable Prometheus
- Deploy applications
- Go to Operations > Metrics
- Alert widgets are visible
What is the current bug behavior?
Alert widgets are visible.
What is the expected correct behavior?
Alert widgets shouldn't be visible.
Relevant logs and/or screenshots
Alert widget
Alert widget shown on the frontend. Creating/updating alerts is not possible.
backend prevents alerts to be created/updating and returns 404.

