Data source permissions
By default, data sources in an organization can be queried by any user in that organization. For example, a user with the role can issue any possible query to a data source, not just queries that exist on dashboards they have access to.
Enable permissions for a data source:
- Navigate to Configuration > Data Sources.
- On the Permissions tab, click Enable.
Caution: Enabling permissions for the default data source makes users not listed in the permissions unable to invoke queries. Panels using default data source will return
Access denied to data source
error for those users.
Assign query permission to users and teams:
- Navigate to Configuration > Data Sources.
- Select the data source you want to assign query permissions for.
- On the Permissions tab, click Add Permission.
- Select the entity you want to allow query access and then click Save.
If you have enabled permissions for a data source and want to return data source permissions to the default, then you can disable permissions with a click of a button.
Disable permissions for a data source:
- Navigate to Configuration > Data Sources.
- Select the data source you want to disable permissions for.
- On the Permissions tab, click Disable Permissions.