Hide panel options for non-admin users in grafanaOSS

  • What Grafana version and what operating system are you using?
    Grafana OSS v9.4

  • What are you trying to achieve?
    I have installed Grafana OSS on my server which is running Windows OS. I have created some dashboards that the end-users can access as viewers. For the role viewers, when they access the dashboard, I don’t want them to be able to share the panels or dashboard. What is the best way to disable hide the panel-options.


Hey @tabinashabir , I am also trying to disable/hide specific panels to viewer, is there a way to achieve this?

I have hidden certain elements from the CSS now. But they are invisible to all users. Couldn’t find a way to disable certain things based on roles.

What panels are you trying to hide exactly?

@tabinashabir I am having dashboard with 4 panels as below
I am trying to hide ‘logins’ panel to Viewer role

Check answer here

Hi @tabinashabir

How did you achieve this?