- What Grafana version and what operating system are you using?
Grafana version: Version 9.5.3 (commit: 916d9793aa, branch: HEAD) - open source
OS & version: Red Hat Enterprise Linux release 8.8 (Ootpa)
- What are you trying to achieve?
Trying to implement RBAC
- How are you trying to achieve it?
enabled RBAC in grafana.ini
[rbac]
enabled: true
permission_cache: true
Using file provisioning method - /etc/grafana/provisioning/access-control
config file version
apiVersion: 2
Roles to insert/update in the database
roles:
- name: ‘custom:users:goc’
description: ‘List/update other users in the organization’
version: 1
global: true
permissions:- action: ‘dashboards:read’
scope: ‘dashboards:’ 'folders:’ - action: ‘alert.instances.external:read’
scope: ‘datasources:*’ - action: ‘alert.instances:create’
- action: ‘alert.instances:write’
- action: ‘alert.instances:read’
- action: ‘dashboards:read’
Assignments to teams
teams:
- What happened?
no custom role visible in UI
-
What did you expect to happen?
-
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?