Viewer users can view JSON model

Hi everyone! I’m using Grafana 9.5.1 OSS. Checking the user’s access, I detected that the users with the role “Viewer” can access the JSON data in Panels and Dashboards. This shows to a user, for example, the queries executing in the panel to show data. Is there a way to revoke this?

Ok, you will restrict that UI feature somehow. But then user will use browser console and will get executed queries from issued http requests. So you maybe you will restrict something, but there still be a way for userd how to get those details.

Check snapshot feature or public dashboard feature. They may be better fit for your need. But each of them has own limitation, so make sure you will check doc first.

Are you using raw queries?

Select x,y,z from table?