Cleanup #41586
mgr/dashboard: remove Grafana role
Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Tags:
Description
As it's neither useful nor necessary:
- Useless: roles are meant to control access, but Grafana service is external to dashboard, so there's no way to enforce these policies (any user can access Grafana dashboards independently).
- Unnecessary: Grafana is just a infrastructure component, while roles are meant to control access to Ceph workflows (RBD, RGW, etc.). Hence every Grafana Dashboard should be hidden/displayed based on the specific Ceph workflow where it's embedded in.
Related to https://github.com/ceph/ceph/pull/29989#issuecomment-526514531
Related issues
History
#1 Updated by Ernesto Puerta over 4 years ago
- Tracker changed from Bug to Cleanup
#2 Updated by Lenz Grimmer over 4 years ago
- Tags set to administration, monitoring, grafana
Good point, I agree. This would also simplify things a bit. However, we need to ensure that any existing roles/and permissions related to Grafana are cleared up during an upgrade.
#3 Updated by Lenz Grimmer almost 4 years ago
- Related to Feature #43526: mgr/dashboard: add grafana support by default to pre-defined roles added
#4 Updated by Ernesto Puerta almost 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General