Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-control/configure-rbac.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/security-and-account-management/authentication-and-permissions/access-control/configure-rbac/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Configure RBAC options in Grafana
Note
Available in Grafana Enterprise and Grafana Cloud.
The table below describes the available RBAC configuration options for your Grafana stack. Like any other Grafana configuration, you can apply these options as environment variables.
| Setting | Required | Description | Default |
|---|---|---|---|
permission_cache | No | Enable to use in memory cache for loading and evaluating users’ permissions. | true |
permission_validation_enabled | No | Grafana enforces validation for permissions when a user creates or updates a role. The system checks the internal list of scopes and actions for each permission to determine they are valid. By default, if a scope or action is not recognized, Grafana logs a warning message. When set to true, Grafana returns an error. | true |
reset_basic_roles | No | Reset Grafana’s basic roles’ (Viewer, Editor, Admin, Grafana Admin) permissions to their default. Warning, if this configuration option is left to true this will be done on every reboot. | true |
Example RBAC configuration
[rbac]
permission_cache = trueWas this page helpful?
Related resources from Grafana Labs


