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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...