Setting up data-source permission for specific user

I’m using grafana 11.1.3 under docker with official docker image.

  • There is only one (default) organisation.
  • There is loki data-source added with no dashboards created for it.
  • I’m want to make specific user with “Viewer” role to view all data from loki data-source.

If user has “Editor” or “Admin” role, he/she is able to view all data from loki data-source via menuconnectionsdatasourcesexplore.

If user has “Viewer” role, there are no menuconnections entry at all.

It seems that adding data-source permission for that specific user with “Viewer” role should do what I want, but there are no “Permissions” tab on ConnectionsData sourcesmy loki data-source name page, even when logged in as grafana super-admin.

How could I achieve that?

The question is not about loki-side auth, is it?

If user has “Editor” or “Admin” role in Grafana, queries are reaching loki without any problems.

oops, sorry, thought it was a loki issue

That’s paid/pro/enteprise feature - RBAC:

1 Like