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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...