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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...