Files
brendamuir b311612cf2 Alerting docs: RBAC for enterprise and cloud (#86506)
* Alerting docs: RBAC for enterprise and cloud

* rbac structure

* ran prettier

* updates to data source permissions

* adds tables for roles

* ran prettier

* adds examples for custom role

* ran prettier

* updates table

* typo fix

* ran prettier
2024-04-18 20:32:04 +02:00

2.6 KiB
Raw Blame History

canonical description keywords labels title weight
https://grafana.com/docs/grafana/latest/alerting/set-up/configure-rbac/access-folders/ Manage access using folders
grafana
alerting
set up
configure
RBAC
folder access
products
enterprise
cloud
Manage access using folders or data sources 200

Manage access using folders or data sources

You can further customize access for alert rules by assigning permissions to individual folders or data sources, regardless of role assigned.

{{< admonition type="note" >}} You can't use folders to customize access to notification resources. {{< /admonition >}}

Details of how role access can combine with folder permissions for Grafana Alerting are below.

Role Folder Access
Admin - Write access to alert rules in all folders.
Editor - Write access to alert rules in all folders.
Viewer Admin Write access to alert rules only in the folders where the Admin permission is added.
Viewer Edit Write access to alert rules only in the folders where the Edit permission is added.
Viewer View Read access to alert rules in all folders.

Folder permissions

To manage folder permissions, complete the following steps.

  1. In the left-side menu, click Dashboards.
  2. Choose the folder you want to add permissions for.

{{< admonition type="note" >}}It doesnt matter which tab youre on (Dashboards, Panels, or Alert rules); the folder permission you set applies to all.{{< /admonition >}}

  1. Click Manage permissions from the Folder actions menu.
  2. Update or add permissions as required.

Data source permissions

By default, users with the basic roles Admin, Editor, and Viewer roles have query access to data sources for Grafana Alerting.

If you used fixed roles or custom roles, you need to update data source permissions.

Alternatively, an admin can assign the role Datasource Reader, which grants the user access to all data sources.

To manage data source permissions, complete the following steps.

  1. In the left-side menu, click Connections > Data sources.
  2. Click the data source you want to change the permissions for.
  3. Click the Permissions tab.
  4. In the Permission column, update the permission or remove it by clicking X.