Is it possible to show information available from ‘Administration - Users’ in the dashboard (i.e. in Table) without any additional external datasources:
if you are willing to try another datasource, you can use the json api plugin, or infinity plugin, and then access the grafana rest api, change localhost and admin to your details:
${__user.id} is the ID of the current user. ${__user.login} is the login handle of the current user. ${__user.email} is the email for the current user.
Thank you. It works for user with admin rights. Can it be allowed for non-admin user (not giving him admin rights, just giving the right to view user list)?
I get the following error: You’ll need additional permissions to perform this action. Permissions needed: users:read
How to set users:read permission for the particular user? Or this is not possible in Grafana OSS?
The Users HTTP API does not currently work with an API Token. API Tokens are linked to an organization and an organization role. They cannot be given the permission of server users access, only users can be given that permission. To use these API calls you can use Basic Auth and the Grafana user must have the Grafana Admin role.