mirror of
https://github.com/grafana/grafana.git
synced 2025-09-24 09:53:59 +08:00

* Update `refs` links in `Service accounts` to enable the Cloud docs * Update `refs` links in `Migrate API keys` to enable the Cloud docs * Update `refs` links in `RBAC docs` to enable the Cloud docs * 2 - Update `refs` links in `RBAC docs` to enable the Cloud docs * 3 - Update `refs` links in `RBAC docs` to enable the Cloud docs * Apply Jack suggestions * Set `folder permissions` for OSS and Cloud * Set adminition shortcode to support GC ref links * Fix `//` in URLs
2.6 KiB
2.6 KiB
aliases | description | labels | menuTitle | title | weight | |||||
---|---|---|---|---|---|---|---|---|---|---|
|
Learn how to configure RBAC. |
|
Configure RBAC | Configure RBAC in Grafana | 30 |
Configure RBAC in Grafana
{{% admonition type="note" %}} Available in Grafana Enterprise and Grafana Cloud. {{% /admonition %}}
The table below describes all RBAC configuration options. 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 = true