get userinfo from `/query`
Closed this issue · 7 comments
Can I get the user's login name from the /query
request? Its value is the built-in Grafana variable ${__user.login}
. I need this information to perform some permission control, which will determine the results returned.
Grafana does not include it in the query. You can definitely send the variable's value within payload.
Grafana does not include it in the query. You can definitely send the variable's value within payload.
sure, I can do it like that, but I would need to modify each panel, which is quite troublesome.
I'm not sure how to achieve this with Grafana plugins, I just hope to be able to get the user info in the HTTP request ~~
This issue has been automatically marked as stale because it has not
had recent activity. It will be closed if no further activity occurs.
This issue has not seen any activity since it was marked stale.
Closing.