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:

    1. Navigate to Configuration > Data Sources.
    2. 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.

    Data source permissions - 图6

    Assign query permission to users and teams:

    1. Navigate to Configuration > Data Sources.
    2. Select the data source you want to assign query permissions for.
    3. On the Permissions tab, click Add Permission.
    4. 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:

    1. Navigate to Configuration > Data Sources.
    2. Select the data source you want to disable permissions for.
    3. On the Permissions tab, click Disable Permissions.