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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...