Manage Datasource user from API

Hi ,

we are using Grafana OSS to integrate with our webapp. We are trying to find out a solution where one datasource will be assigned to one user in Grafana.

is there a way we can manage grafana datasource permission. i.e. if we have 3 users than three of them will have different data source.

please assist.

use case :

  • we have inbuilt grafana in our web application where we have given a button to land to grafana dashboard.
  • we are using infinite Datasource to enable user to use GraphQL database.
  • we were able to manage user session and created folder/dashboard for each user.
  • Requirement is to build unique datasource where we will set user related headers to persist data integrity.