How to make a specific panel not visible to a user(Editor/Viewer) in a grafana dashboard having many panels

  • What Grafana version and what operating system are you using?
    v10.0.3

  • What are you trying to achieve?
    trying to make a specific panel not visible to a user

  • How are you trying to achieve it?
    not sure how to achieve

  • What happened?
    not sure how to achieve

  • What did you expect to happen?
    specific panel not visible to a user

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

Hello,

If by a panel you mean the dashboard, there is a permissions section in the dashboard settings:

Delete the “Viewer” and “Editor” permissions, and add the team/user that you want to give access to.

@clevernessisamyth , I am having a dashboard as below screenshot with 4 panels.

I am trying to disable/hide ‘logins’ panel to Viewers. Is there a way to achieve this?

No it is not possible.

You should create a new dashboard without that panel…

1 Like

As a workaround you can convert that panel into a library panel:

Create library panel

And configure necessary permissions for the folder containing this library panel:

Viewers won’t see the content of this library panel used at a dashboard, but result would not be very nice anyway. Viewers would see “Panel plugin not found: Unable to load library panel” message:

So more efficient approach would be, as mentioned above, to create a new dashboard without that panel