Security

Possible to set permissions on a navigation menu divider?

Jason
Motivator

The <divider/> in a navigation menu provides some much needed separation between apps, which is great.

However, I am writing an app so that certain groups of users can see certain views, others can not. This is handled well by Splunk in the navigation menu, making views disappear from the menu if the user does not have read permission. If you have a menu full of views, the entire menu disappears if none of the views are readable by the user.

Unfortunately, the menu fails to disappear if it contains any <divider/>s. Is there any way to set permissions on a <divider/>, or have Splunk recognize that it has an empty menu full of only <divider/>s so it will make the menu disappear properly?

1 Solution

Drainy
Champion

Alas, there is no way I have heard of. You would either need to delete the dividers manually to prevent this, write some custom jQuery to clear them on page load if there is nothing in the menu or submit an enhancement request for this 🙂

To submit an ER just head to here;
https://www.splunk.com/page/submit_issue

View solution in original post

Drainy
Champion

Alas, there is no way I have heard of. You would either need to delete the dividers manually to prevent this, write some custom jQuery to clear them on page load if there is nothing in the menu or submit an enhancement request for this 🙂

To submit an ER just head to here;
https://www.splunk.com/page/submit_issue

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...