User Management
Grafana’s user management system controls who can access your Grafana instance and what they can do. This includes managing users, teams, roles, and permissions at multiple levels. This guide covers everything you need to know about managing access to your Grafana instance.Prerequisites
Before you begin:- Grafana is installed and running
- You have Organization Admin or Server Admin permissions
- You understand your organization’s access requirements
Understanding Users and Permissions
A user is any individual who can log in to Grafana. Each user has:- Authentication credentials: Username/password, OAuth, LDAP, etc.
- Organization membership: Can belong to one or more organizations
- Role: Determines permissions within an organization
- Team membership: Optional group membership for permission management
Permission Hierarchy
Grafana has three permission levels:- Server Admin: Manages the entire Grafana instance
- Organization: Controls access to dashboards, data sources, and resources within an organization
- Dashboard/Folder: Fine-grained permissions on individual resources

User Roles
Organization Roles
Every user in an organization has one of these roles:Organization Admin
Full control over organization resources including users, teams, and settings
Editor
Can create and edit dashboards, folders, and playlists
Viewer
Can view dashboards and playlists, query data sources
No Basic Role
No default permissions (use with RBAC)
Role Permissions Matrix
The following table shows what each role can do:| Permission | Admin | Editor | Viewer | No Basic Role |
|---|---|---|---|---|
| View dashboards | ✓ | ✓ | ✓ | |
| Add, edit, delete dashboards | ✓ | ✓ | ||
| Add, edit, delete folders | ✓ | ✓ | ||
| View playlists | ✓ | ✓ | ✓ | |
| Add, edit, delete playlists | ✓ | ✓ | ||
| Create library panels | ✓ | ✓ | ||
| Access Explore | ✓ | ✓ | ||
| Query data sources | ✓ | ✓ | ✓ | |
| Add, edit, delete data sources | ✓ | |||
| Add and edit users | ✓ | |||
| Add and edit teams | ✓ | |||
| Change organization settings | ✓ | |||
| Configure plugins | ✓ |
No Basic Role is designed for use with Role-Based Access Control (RBAC) in Grafana Enterprise, where you assign specific permissions as needed.
Server Administrators
Server Admins (also called Grafana Admins) manage the entire Grafana instance:- Create, edit, and delete organizations
- Manage users across all organizations
- View server-wide settings and statistics
- Upgrade to Grafana Enterprise
- Configure global settings
Managing Organization Users
Viewing Users
- Click Administration → Users and access → Users
- You’ll see a list of all users in your organization
- Use the search box to filter users
Inviting Users
Invite new users to your organization:- Navigate to Administration → Users and access → Users
- Click Organization users
- Click Invite
- Fill in the form:
- Click Submit
Invite by Username vs Email
Invite by Username vs Email
By Username:
- Use when the user already has a Grafana account
- User is immediately added to the organization
- No email is sent
- Use for new users
- User receives an invitation email
- Account is created on first sign-in
- Requires email configuration in Grafana
Changing User Roles
Update a user’s role to change their permissions:- Navigate to Administration → Users and access → Users
- Find the user in the list
- Click the current role in the Role column
- Select the new role:
- Admin
- Editor
- Viewer
- No basic role
- Click Update
Organization roles sync from authentication providers (LDAP, OAuth, SAML) on user sign-in. To prevent synchronization, configure
skip_org_role_sync in your Grafana configuration.Managing Pending Invitations
View and manage invitations that haven’t been accepted:- Navigate to Administration → Users and access → Users
- Click Pending Invites (visible only if there are pending invitations)
- From here you can:
- Copy invite link: Click to copy the invitation URL
- Cancel invitation: Click the red X to revoke
Removing Users from Organization
Remove a user when they no longer need access:- Navigate to Administration → Users and access → Users
- Find the user to remove
- Click the red X next to their name
- Confirm the removal
Server User Management
Server Admin features are not available in Grafana Cloud.
View All Users
- Click Server Admin (shield icon) in the left sidebar
- Click Users
- View all users across the Grafana instance
Create New User
- In Server Admin → Users
- Click New user
- Fill in user details:
- Click Create user
Grant Server Admin Privileges
- In Server Admin → Users
- Click on the user
- Go to the Permissions tab
- Toggle Grafana Admin to ON
- Click Update
Add User to Organization
- In Server Admin → Users
- Click on the user
- Go to the Organizations tab
- Click Add user to organization
- Select organization and role
- Click Add to organization
Team Management
Teams are groups of users within an organization that share common permissions. Teams simplify permission management by allowing you to assign permissions to groups instead of individual users.Benefits of Teams
Simplified Management
Assign permissions once to the team, not to each user
Dynamic Membership
Add/remove users from teams without changing permissions
Organized Access
Group users by department, project, or function
Scalability
Efficiently manage permissions for large user bases
Creating a Team
- Navigate to Administration → Users and access → Teams
- Click New team
- Enter team details:
- Click Create
Adding Team Members
- Click on the team name
- Click Add member
- Search for and select a user
- Choose member type:
- Member: Regular team member
- Admin: Can manage team membership and settings
- Click Add to team
Team Permissions
Assign dashboard and data source permissions to teams:- Navigate to a dashboard or data source
- Go to Permissions tab
- Click Add a permission
- Select Team
- Choose the team
- Select permission level:
- View: Read-only access
- Edit: Modify the resource
- Admin: Full control including permissions
- Click Save
Team Sync (LDAP/OAuth)
Automatically synchronize team membership from external systems:- Configure LDAP or OAuth in
grafana.ini - Map external groups to Grafana teams
- Team membership syncs on user login
Dashboard and Folder Permissions
Fine-grained permissions control access to individual dashboards and folders.Default Permissions
By default:- Folder creator: Automatically gets Admin permission
- Organization Admins: Admin on all resources
- Editors: Edit on all dashboards
- Viewers: View on all dashboards
Setting Folder Permissions
- Navigate to Dashboards
- Right-click on a folder → Permissions
- Click Add a permission
- Select type:
- User
- Team
- Role (Viewer, Editor, Admin)
- Choose permission level:
- View: Can view dashboards in folder
- Edit: Can modify dashboards and folder
- Admin: Full control including permissions
- Click Save
Permissions on folders cascade to all dashboards within the folder.
Setting Dashboard Permissions
- Open a dashboard
- Click Dashboard settings (gear icon)
- Go to Permissions tab
- Click Add a permission
- Configure permission same as folders
- Click Save
Service Accounts
Service accounts provide authentication for applications and services.Creating Service Accounts
- Navigate to Administration → Users and access → Service accounts
- Click Add service account
- Configure:
- Click Create
Generating API Tokens
- Click on the service account
- Click Add service account token
- Set token details:
- Click Generate token
- Copy the token immediately (it won’t be shown again)
Use Cases for Service Accounts
CI/CD Pipelines
CI/CD Pipelines
Use service accounts to:
- Deploy dashboards via API
- Run automated tests
- Export/import configurations
External Applications
External Applications
Integrate Grafana with other tools:
- Embed dashboards in applications
- Query Grafana APIs
- Automate dashboard creation
Monitoring and Alerting
Monitoring and Alerting
Automate operational tasks:
- Create/update alerts programmatically
- Manage data sources
- Generate reports
Data Source Permissions (Enterprise)
Data source permissions are available in Grafana Enterprise and Grafana Cloud.
Permission Levels
- Query: Can query the data source
- Edit: Can query and modify configuration
- Admin: Full control including permission management
Assigning Data Source Permissions
- Navigate to Connections → Data sources
- Click on a data source
- Go to Permissions tab
- Click Add a permission
- Select User, Service Account, Team, or Role
- Choose the entity
- Select permission level
- Click Save
Role-Based Access Control (Enterprise)
RBAC is available in Grafana Enterprise and Grafana Cloud.
RBAC Concepts
- Role: Collection of permissions
- Permission: Specific action on a resource (e.g.,
dashboards:read) - Scope: Limits where permission applies (e.g.,
dashboards:uid:abc123)
Creating Custom Roles
- Navigate to Administration → Users and access → Roles
- Click New custom role
- Configure:
- Click Create
Assigning Custom Roles
- Navigate to Administration → Users and access → Users
- Click on a user
- Go to Roles tab
- Click Add role assignment
- Select the custom role
- Click Add
Common RBAC Patterns
Read-Only Dashboard Access
Read-Only Dashboard Access
Grant view access without edit permissions:
Data Source Administrator
Data Source Administrator
Manage data sources without full admin access:
Alert Manager
Alert Manager
Create and manage alerts:
Authentication Configuration
Grafana supports multiple authentication methods.Built-in Authentication
Default username/password authentication.grafana.ini
OAuth Authentication
Integrate with OAuth providers (Google, GitHub, GitLab, etc.).LDAP Authentication
Integrate with LDAP/Active Directory.grafana.ini
SAML Authentication (Enterprise)
SAML is available in Grafana Enterprise.
grafana.ini
Best Practices
Principle of Least Privilege
Grant minimum necessary permissions
Use Teams
Manage permissions via teams, not individual users
Regular Audits
Periodically review user access and permissions
Service Account Tokens
Use service accounts for automation, not user accounts
Folder Organization
Organize dashboards in folders with appropriate permissions
External Authentication
Use OAuth/LDAP/SAML for centralized user management
Security Recommendations
Password Policies
Password Policies
Enforce strong passwords:
grafana.ini
Session Management
Session Management
Configure session timeouts:
grafana.ini
API Token Management
API Token Management
Best practices for API tokens:
- Use service accounts instead of user tokens
- Set expiration dates on tokens
- Rotate tokens regularly
- Revoke unused tokens
- Store tokens securely (secrets managers)
Audit Logging
Audit Logging
Monitor user activity:
- Enable audit logging
- Review login attempts
- Track permission changes
- Monitor API usage
Next Steps
Configure Data Sources
Set up data source permissions
Create Dashboards
Build dashboards with appropriate permissions
Troubleshooting
User Can't Access Dashboard
User Can't Access Dashboard
Check:
- User’s organization role
- Dashboard/folder permissions
- Team membership if using team permissions
- Data source permissions
LDAP Sync Not Working
LDAP Sync Not Working
Verify:
- LDAP configuration in
grafana.iniandldap.toml - Network connectivity to LDAP server
- LDAP bind credentials
- Group DN mappings
OAuth Login Fails
OAuth Login Fails
Common issues:
- Incorrect client ID/secret
- Wrong redirect URI configuration
- Missing scopes
- Allowed domains/organizations mismatch
Permission Changes Not Taking Effect
Permission Changes Not Taking Effect
Solutions:
- User may need to log out and back in
- Clear browser cache
- Check if permissions are syncing from external auth
- Verify role/team assignment
- Review RBAC custom roles