Grafana RBAC: open source roles vs Enterprise role-based access control

Grafana open source has basic roles only. Fixed roles, custom roles and data source permissions need Grafana Enterprise or Grafana Cloud, and they stop being editable when an Enterprise license expires.

On this page

Grafana RBAC: open source roles vs Enterprise role-based access control

If your security or platform team is checking whether self-hosted Grafana can enforce role-based access, the short answer is that open source provides only the basic roles: Organization administrator, Editor and Viewer. Role-based access control itself, fixed roles, custom roles and data source permissions require Grafana Enterprise or Grafana Cloud, according to the Grafana access control documentation. Any checklist item that assumes fine-grained RBAC on the open-source edition will fail on day one, so it should be re-scored against the edition you actually plan to run.

The first decision is therefore edition. Confirm which controls your access requirements depend on: whether you need custom roles that combine specific permission actions and scopes, whether you need to restrict query, edit or admin rights on individual data sources to particular users, teams or service accounts, and whether you need fixed roles assigned to service accounts. If the answer is yes to any of these, the open-source edition cannot meet the requirement, and the budget conversation moves to Enterprise or Grafana Cloud. Basic roles, dashboard and folder permissions still apply in open source, so some access design is possible without a license. Ask Grafana Labs or a licensed reseller to confirm current edition feature lists before you sign off the checklist.

The second decision concerns what happens over time. The Enterprise licensing documentation says that on an expired Enterprise license you cannot create or edit custom RBAC roles or add new data source permissions. Existing configuration is the question to verify in your own environment, so test an expired license on a non-production instance and record what remains editable. Plan licence renewal as an operational dependency, with an owner and a renewal date, and document which roles and data source permissions must be preserved if the license lapses. Access changes that are not covered by the license should go through a documented exception process rather than ad hoc edits.

Which RBAC capabilities each Grafana edition includes

This table compares each access control capability against open source Grafana, Grafana Enterprise and Grafana Cloud, using the Grafana access control and data source docs. Read the Enterprise and Cloud columns as the edition that must be licensed before the feature works. The main takeaway is that open source covers the basic roles, while fine-grained RBAC, custom roles and data source permissions need Enterprise or Cloud.

CapabilityOpen sourceEnterprise or CloudNotes
Basic roles (Organization administrator, Editor, Viewer)AvailableAvailableStandard roles present in open source; Enterprise and Cloud can change their permissions
Modifying basic role permissionsNoYesEnterprise and Cloud users can modify the permissions of basic roles
Role-based access control (RBAC)NoYesFixed and custom roles are part of RBAC in Enterprise and Cloud
Fixed roles for users, teams and service accountsNoYesFixed roles cannot be changed or deleted
Custom roles combining actions and scopesNoYesCustom roles are created only with a valid license
Role with no permissions to which RBAC adds accessNoYesThis starting role is used with RBAC, so it requires Enterprise or Cloud
Dashboard and folder permissionsAvailableAvailableConfirm the exact permission levels for your Grafana version in the roles and permissions docs
Data source permissions (query, edit, admin)NoYesRestrict each data source to specific users, service accounts, teams or basic roles
Behavior after Enterprise license expiresNot applicableLimitedYou cannot create or edit custom RBAC roles or add new data source permissions

How Grafana enforces roles and where permissions are checked

A user's access in Grafana is decided in three layers, and a request has to pass each one that applies to it. The first layer is the organization role: Organization administrator, Editor or Viewer, which sets what a user can do across the instance. Basic roles are the starting point in open source and cannot be changed there. In Grafana Enterprise and Grafana Cloud, you can change the permissions of basic roles, assign fixed roles to users, teams and service accounts, and build custom roles from permission actions and scopes. Fixed roles cannot be edited or deleted, so custom roles are the place to encode your own distinctions.

The second layer is folder and dashboard permissions. These sit on top of the organization role and control who can view, edit or administer a given folder or dashboard. Because they attach to the object itself, they answer the question of which team owns which content. The third layer is data source permissions, which restrict query, edit and admin rights on a data source to specific users, service accounts, teams or basic roles. This layer is often overlooked, yet it decides whether a user can read the underlying metrics or logs at all, even if they can see a dashboard that draws on them.

Effective access is the result of all three layers together, so a user needs to be allowed by each one that applies. Before you rely on any of them, confirm in a test instance how your edition evaluates these combinations, and check what a Viewer can reach through a dashboard that uses a restricted data source. Keep the design of folders, teams and sync rules for the organizations, teams and folder permissions page, and treat the layers described here as the model that page builds on.

Decisions to make before choosing an edition for RBAC

Six decisions shape whether open-source basic roles are enough or whether Grafana Enterprise or Grafana Cloud is needed for fixed roles, custom roles and data source permissions. Work through them in order, because the answer to the first few often settles the rest.

Are basic roles enough

Open-source Grafana gives every organization the basic roles of Organization administrator, Editor and Viewer. Check whether those three roles can express who should build dashboards, who should only look at them and who administers the instance. If a shared viewer group must see everything the editors see, basic roles may already fit, and no Enterprise license is needed for that model.

Roles and permissions docs

Teams needing separate data source access

Count how many teams must query a given data source that others must not see, such as finance logs or production databases. Open-source roles cannot restrict one data source to one team. If that count is more than zero, plan for data source permissions, which Grafana documents as an Enterprise and Grafana Cloud feature.

Data source management docs

Query restriction as a requirement

Decide whether query access itself must be limited, not just dashboard visibility. Data source permissions can restrict query, edit and admin actions to specific users, service accounts, teams or basic roles. If the requirement is only to hide dashboards or folders, folder permissions may be enough, and the edition decision can follow from that scope.

Ownership of role design

Name the person or group who approves custom role definitions and changes to fixed role assignments. Custom roles combine permission actions and scopes, so a loosely reviewed role can grant more than intended. Enterprise and Grafana Cloud are needed for custom roles, so this decision points directly to the edition, and the owner should be documented before the license is bought.

How group membership is managed

Decide whether team membership is maintained by hand in Grafana or synchronized from the identity provider. Team sync with an identity provider is listed as an Enterprise feature, and SAML and SCIM are also limited to Enterprise and Grafana Cloud. Confirm which identity provider you use and whether its groups map cleanly to Grafana teams.

Whether expiry and renewal are needed

Plan a renewal process for the Enterprise license before depending on custom roles or data source permissions. On an expired Grafana Enterprise license, you cannot create or edit custom RBAC roles or add new data source permissions. Confirm with Grafana Labs how the license is issued and renewed, and assign an owner who tracks the expiry date.

Enterprise licensing docs

How the RBAC answer changes by situation

A single team that runs one self-hosted Grafana instance can usually meet its needs with open-source edition. The basic roles, Admin, Editor and Viewer, cover the common split between people who build dashboards and people who only read them. Access is managed at the organization level and through dashboard and folder permissions, which the access design page covers. The trade-off is that the basic roles cannot be redefined in open source, so every user with a given role gets the same baseline.

  • Basic roles only: Open-source Grafana provides the standard roles. Plan your team around them rather than expecting custom role sets.
  • Folder-based separation: Use folders and dashboard permissions to keep different work apart inside one instance.
  • No data source restrictions: Any user who can query a data source can query it, so confirm that this is acceptable for the data involved.
  • Local or supported sign-in: Check which identity provider integration you need, because SAML and team sync are Enterprise features.
  • Small group, small blast radius: A single team with few sensitive data sources often gains little from paying for more controls.

Before you rely on open source, confirm with your own data owners whether any data source needs query restrictions, and check the current edition details on the Grafana Enterprise documentation.

Order of work to put Grafana RBAC in production

This sequence moves from confirming what your Grafana edition can enforce to proving, account by account, that each role sees and changes only what it should. Each step closes with a check that must pass before the next one starts.

  1. Confirm the edition and license state

    Start by establishing which edition runs in each environment: open-source Grafana, Grafana Enterprise with a license, or Grafana Cloud. Only Enterprise and Cloud provide fixed roles, custom roles and data source permissions, so the team that owns the instance confirms this before any access design begins. Check the license expiry date and who receives renewal notices. The step is done when the edition, license holder and expiry date are recorded for every environment, including test and staging, and the owner has written down what each edition can and cannot enforce.

  2. Map roles to job functions

    Interview the teams that use Grafana and list the work each group actually does, such as viewing operational dashboards, editing dashboards, managing alert rules or administering the instance. Match each function to the basic roles available in every edition (Organization administrator, Editor and Viewer) and note where a function needs more than those roles provide. Identify any function that needs an Enterprise or Cloud role. The output is a written matrix of job functions, the chosen role for each and the gaps, reviewed and signed off by the people who own access decisions.

  3. Define the folder and data source boundary

    Decide which dashboards and folders each group may see or change, and which data sources each group may query, edit or administer. Folder and dashboard permissions are available in the open-source edition, while data source permissions require Enterprise or Cloud. Confirm that sensitive data sources, such as those holding production logs or customer data, are restricted to named teams or service accounts. The step is complete when every folder and data source has a named owner and an explicit list of allowed groups, and nothing falls back to a broad default.

  4. Assign fixed or custom roles

    Where basic roles are too broad, assign fixed roles to users, teams and service accounts in Enterprise or Cloud, or build custom roles that combine permission actions and scopes. Fixed roles cannot be changed or deleted, so prefer them where they fit and use custom roles only for the gaps identified earlier. Keep a record of every custom role with its purpose and the actions it grants. The check for this step is a review of each custom role against the job-function matrix, confirming that no role grants more than its matrix entry requires.

  5. Connect group membership

    Link Grafana roles to the groups your identity provider manages so that joining or leaving a group changes access without manual edits in Grafana. Team sync with an identity provider and SCIM provisioning are Enterprise features, so open-source deployments continue to manage teams inside Grafana. Confirm which authentication method is in use, because SAML and team sync are limited to Enterprise and Cloud, and test that a user from each group lands in the expected team with the expected role. The step is done when group-to-role mappings are documented and a sample login per group matches the matrix.

  6. Test each role against sample accounts

    Create sample accounts for each role and each team, then sign in as each one and attempt the actions in your matrix, including actions that should fail. Check folder visibility, dashboard editing, data source queries and any administrative screens. Record every unexpected result as a defect, correct the role or scope, and retest. Include a test of an expired license in a non-production environment to see which custom roles and data source permissions become read-only or unavailable, so the team knows what will happen before a renewal is missed. The step closes when every test case passes and the results are filed with the access design.

What a security reviewer asks to see for Grafana RBAC

This table lists the evidence a security reviewer typically requests for Grafana access control, where each item comes from in the platform, and who produces it. Use it to prepare before an assessment, since the evidence is only as useful as the export that backs it. DeployOpen can prepare and organize this evidence, but independent auditors issue any audit report or attestation.

Evidence itemWhere it comes fromWho produces itEdition note
Role inventoryAdministration screens for basic roles, fixed roles and custom roles, plus organization role assignmentsGrafana administrator, exported or screenshotted at a set dateCustom and fixed roles require Enterprise or Cloud
Custom role definitionsPermission actions and scopes saved for each custom roleGrafana administrator, with change history kept in version control if managed as codeCreating or editing custom roles needs a valid Enterprise license
Data source permission listsQuery, edit and admin permissions set per data source for users, teams, service accounts or basic rolesGrafana administrator, exported per data sourceData source permissions are an Enterprise or Cloud feature
License stateEnterprise license status and expiry date in the instance administration areaGrafana administrator, with the license record kept by procurementExpired licenses block creating or editing custom roles and new data source permissions
User list per roleUsers, teams and service accounts with their assigned roles, from the instance user directoryGrafana administrator or identity provider owner, reconciled against HR recordsTeam sync and SCIM provisioning need Enterprise or Cloud
Provisioning filesYAML or JSON files for data sources, dashboards and alerting loaded at startup, plus any Terraform or Git Sync recordsPlatform engineering team, stored in the repository with commit historyProvisioning is available in open source, but access records are only as complete as the files kept
Authentication configurationIdentity provider settings, including the login and role mapping used at sign-inPlatform engineering team, from the configuration file or environment settingsSome providers need Enterprise for SAML and team sync
Change and approval recordsTickets or pull requests that approved each role or permission changeService owner and approver, kept in the ticketing or Git systemNot generated by Grafana itself; confirm retention with your records team

Questions buyers ask about Grafana RBAC before approval

Can open source Grafana restrict which users can query a data source?

No, not with the data source permissions feature. Per Grafana's access control documentation, data source permissions are available in Grafana Enterprise and Grafana Cloud, where you can restrict query, edit and admin permissions on a data source to specific users, service accounts, teams or basic roles. Open-source Grafana gives you the basic roles (Organization administrator, Editor and Viewer) and folder and dashboard permissions, but it does not offer per-data-source restriction. If a data source holds sensitive operational data, treat that gap as a reason to confirm your edition before design starts, or to separate data into different Grafana instances. Check the current edition comparison with Grafana Labs before approval.

What happens to our RBAC configuration if the Enterprise license expires?

Grafana's enterprise licensing documentation says that on an expired Grafana Enterprise license you cannot create or edit custom RBAC roles or add new data source permissions. Existing configuration is the question your team should test in a non-production instance before relying on it, because the behavior of previously assigned roles and permissions after expiry should be confirmed against the licensing documentation for your version. Plan for renewal as an operational dependency, record which roles and data source permissions depend on Enterprise features, and add license renewal to the change calendar. Ask Grafana Labs to confirm the expiry behavior in writing for your contract.

Can our own team configure RBAC without outside help?

Yes, if your team has an administrator who understands Grafana's roles, permissions and scopes and has access to the Enterprise or Cloud edition you have licensed. Configuring a few fixed roles, assigning users and teams and setting folder permissions is routine administration. The harder part is the design: deciding which roles map to which job functions, which data sources each group needs, and how the model should change as teams and data sources change. Teams without an RBAC owner often end up with broad Editor access. A partner is useful when the design must be written down, reviewed and handed over.

What does the work need from our side?

The work needs a named owner for access decisions, a current list of teams, job functions and the data sources each group uses, and an identity provider administrator who can confirm group membership. You also need an agreed list of which users should be able to edit dashboards, which should only view them and who may administer data sources. Where you plan to use team sync or SCIM provisioning, the identity provider configuration must be available, and those features are Enterprise capabilities in Grafana's authentication documentation. Gather these inputs before the scope is written, because missing decisions are the most common cause of delays.

What drives the cost of RBAC work and the Grafana edition we need?

Two things drive the cost: the edition and the scope of the access model. The edition decides whether custom roles, data source permissions and team sync are available at all, and Grafana Labs sets those prices, which are not published for self-managed Enterprise licenses. Grafana's pricing page lists Grafana Cloud plans, including a Pro tier with a 19 US dollar monthly platform fee plus usage and an Enterprise tier with a minimum commitment of 25,000 US dollars per year. For the work itself, the number of data sources, teams, identity providers and folders drives effort. Check current figures on the Grafana pricing page and the Grafana licensing page before you compare options.

Does DeployOpen's fixed-scope engagement cover RBAC role design?

Role design can be included in a fixed-scope engagement when it is written into the agreed scope and deliverables. Typical deliverables for this kind of work are a role and permission model, the Grafana configuration or provisioning files that implement it, test cases that check each role, and documentation for administrators. Most engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before work starts, and a quote follows from that written scope. DeployOpen does not publish a price list. Ask for the deliverables to be listed by name so you can check them against your requirements.

Will open-source Grafana with basic roles be enough for our compliance evidence?

That depends on what your control requires. Basic roles and folder permissions can show that different groups have different levels of access, but they do not provide per-data-source restriction, custom roles or identity-provider team sync in open source. Before you rely on a role model as evidence, map each access requirement to the feature that enforces it and to the test that proves it. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors and certification bodies make that determination, so confirm your requirements with them early.

How DeployOpen scopes Grafana access control in your infrastructure

DeployOpen starts Grafana RBAC work by confirming which roles, folder permissions and data source restrictions your users need, and which of those require Grafana Enterprise or Grafana Cloud. We then build and document the access model on a self-hosted Grafana instance inside your own infrastructure, in a written, fixed-scope engagement.

How we scope

  • Map each user group to the basic role, fixed role or custom role it needs before any build starts.
  • Confirm which edition or license your organization holds, since fixed roles, custom roles and data source permissions depend on it.
  • Agree the scope, deliverables and timeline in writing, with the access model and its open source fallback defined up front.

How we build

  • Configure organization, team and folder permissions in the instance you run, following the agreed role map.
  • Apply data source permissions only where your edition supports them, and document any gaps in open source instead.
  • Test access for each role with named sample accounts, checking that queries, edits and admin actions match the design.

How we hand over

  • Deliver a written role matrix showing who can view, edit and administer each folder and data source.
  • Document the license dependencies, including what stops working on an expired Grafana Enterprise license.
  • Provide provisioning files or configuration records so access changes can be reviewed and repeated in your environment.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, agreed separately from the fixed-scope build.
  • Review the role model when your Grafana version, license or identity provider changes, and record each change.
  • Confirm with your Grafana Labs account team which access features your license covers before you rely on them.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.