What Grafana version and what operating system are you using?
I builded Grafana from source code on Windows 10.
What are you trying to achieve?
I’m trying to understand how to change elements of interface only for viewer version of page.
For example, remove this button only for viewer version of page[https://i.stack.imgur.com/ZrZQE.png ]
How are you trying to achieve it?
I tried to find code which is responding for viewer version of page, but I only found out how to change elements for all roles pages.
is the viewer role not enough for preventing users with such role to do XYZ ?
could you share more about what are you trying to achieve?