GoogleCloudPlatform / cloud-logging-data-source-plugin

https://grafana.com/grafana/plugins/googlecloud-logging-datasource/
Apache License 2.0
17 stars 12 forks source link

Passthrough user rights from Grafana Plugin #75

Open randmark opened 4 months ago

randmark commented 4 months ago

This is a Grafana SE putting in the issue after talking with the Google team for the Chicago Merchantile Exchange Group (CMEG).

This environment has hundreds of logs in dozens of Subscriptions, but all of them are under the same service account. Since each user already has the user rights set up, what would be ideal is passthrough authentication as is available in many other Grafana plugins since the users are already set up. Otherwise, all of the logs are available to the user setup in the Grafana plugin configuration, making some logs accessable that should not be seen by certain users.

For an example of passthrough authentication, see the Infinity plugin: https://github.com/grafana/grafana-infinity-datasource

Docs for Infinity plugin: https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/setup/authentication/