Project

General

Profile

Cleanup #41586

mgr/dashboard: remove Grafana role

Added by Ernesto Puerta about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
dashboard/general
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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

Related to mgr - Feature #43526: mgr/dashboard: add grafana support by default to pre-defined roles New

History

#1 Updated by Ernesto Puerta about 1 year ago

  • Tracker changed from Bug to Cleanup

#2 Updated by Lenz Grimmer about 1 year 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 6 months ago

  • Related to Feature #43526: mgr/dashboard: add grafana support by default to pre-defined roles added

Also available in: Atom PDF