Project

General

Profile

Cleanup #41586

mgr/dashboard: remove Grafana role

Added by Ernesto Puerta about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
dashboard/general
Target version:
-
Start date:
08/30/2019
Due date:
% 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

History

#1 Updated by Ernesto Puerta about 2 months ago

  • Tracker changed from Bug to Cleanup

#2 Updated by Lenz Grimmer about 2 months 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.

Also available in: Atom PDF