Menu

This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

Open source

Configure roles and permissions

A user is any individual who can log in to Grafana. Each user is associated with a role that includes permissions. Permissions determine the tasks a user can perform in the system. For example, the Admin role includes permissions for an administrator to create and delete users.

For more information, refer to Organization roles.

Manage access using roles

For Grafana OSS, there are three roles: Admin, Editor, and Viewer.

Details of the roles and the access they provide for Grafana Alerting are below.

RoleAccess
AdminWrite access to alert rules, notification resources (notification API, contact points, templates, time intervals, notification policies, and silences), and provisioning.
EditorWrite access to alert rules, notification resources (notification API, contact points, templates, time intervals, notification policies, and silences), and provisioning.
ViewerRead access to alert rules, notification resources (notification API, contact points, templates, time intervals, notification policies, and silences).

Assign roles

To assign roles, admins need to complete the following steps.

  1. Navigate to Administration > Users and access > Users, Teams, or Service Accounts.
  2. Search for the user, team or service account you want to add a role for.
  3. Add the role you want to assign.

Manage access using folder permissions

You can further customize access for alert rules by assigning permissions to individual folders.

This prevents every user from having access to modify all alert rules and gives them access to the folders with the alert rules they’re working on.

Details on the adding folder permissions as well as roles and the access that provides for Grafana Alerting is below.

RoleFolder permissionAccess
Admin-Write access to alert rules in all folders.
Editor-Write access to alert rules in all folders.
ViewerAdminRead access to alert rules in all folders. Write access to alert rules only in the folders where the Admin permission is added.
ViewerEditorRead access to alert rules in all folders. Write access to alert rules only in the folders where the Editor permission is added.
ViewerViewerRead access to alert rules in all folders.

Note

You can’t use folders to customize access to notification resources.

To manage folder permissions, complete the following steps.

  1. In the left-side menu, click Dashboards.
  2. Hover your mouse cursor over a folder and click Go to folder.
  3. Click Manage permissions from the Folder actions menu.
  4. Update or add permissions as required.