Filtering data from one datasource

  • What Grafana version and what operating system are you using?
    Grafana 10.1, linux

  • What are you trying to achieve?
    filter data for users from one data source

  • How are you trying to achieve it?
    influxDB query with $__user.login matching a measurement tag

  • What happened?
    data is filtered as expected until user (viewer) changes his login

  • What did you expect to happen?
    user with viewer role can not change his login

Can anybody help me how to configure grafana to achieve data filtering for users from one datasource? Thanks a lot in advance