Dashboards & Visualizations

Hide dashboard only for a specific role

Alaza
Explorer

Hello,

I want to hide the Dashboard link in the Navigation menu, only for the user with the role "client".
I know I can hide it on the Navigation menu XML but it is for all the user ( delete the line ).

How can I do that just for a specific role ?

Thanks for your help.
[Splunk Version is 6.6.3]

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi Alaza,
you have to create two or more roles: one for "client" and one or more for the others.
Then you have to share your dashboards with all roles without "client".
In other words, grants are managed in positive way and it's not possible to deny a feature or a dashboard to a role, you have to enable all feature without the one to deny.

Bye.
Giuseppe

View solution in original post

0 Karma

mayurr98
Super Champion

You can try changing permissions of specific roles :

User interface » Views » dashboard_name » Permissions

let me know if this helps you!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi Alaza,
you have to create two or more roles: one for "client" and one or more for the others.
Then you have to share your dashboards with all roles without "client".
In other words, grants are managed in positive way and it's not possible to deny a feature or a dashboard to a role, you have to enable all feature without the one to deny.

Bye.
Giuseppe

0 Karma

Alaza
Explorer

Thanks for your return, I already do that.
To be more precise, the "client" see only the dashboards that I want already, but I want to hide the "button/link" Dashboards in the navigation menu.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi Alaza,
sorry for the misunderstanding!
see at https://answers.splunk.com/answers/102913/controlling-access-to-dashboard-and-search-capability.html I think that's the answer to your question.
Bye.
Giuseppe

0 Karma

Alaza
Explorer

Thanks a lot, yes it's answer to my question.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...