Dashboards & Visualizations

Disable all apps other than default app for at user or role level

woodcock
Esteemed Legend

I need to disable all apps but the default app for a user or role but I cannot figure out how to do it. Either making the apps not accessible (but still selectible) or removing the "Apps" menu/dropdown altogether would be acceptible. Right now my default.xml looks like this:


<nav>
<view name="limitedsearch" default="true"/>
</nav>

and my limitedsearch.xml looks like this:

<view template="dashboard.html" onunloadCancelJobs="True">
<label>Vendor-limited Search
<module name="AccountBar" layoutPanel="appHeader"/>
<!-- Message Popups to tell you what's going on -->
<module name="Message" layoutPanel="messaging">
<param name="filter">*
<param name="clearOnJobDispatch">False
<param name="maxSize">1
</module>
<module name="TitleBar" layoutPanel="navigationHeader">
<param name="showActionsMenu">False
</module>
<module name="SearchBar" layoutPanel="mainSearchControls">
<param name="useAssistant">true
<param name="useTypeahead">true
<module name="TimeRangePicker">
<param name="selected">Last 15 minutes
<module name="ViewRedirector">
<param name="viewTarget">flashtimeline
</module>
</module>
</module>
</view>

Tags (1)
0 Karma
1 Solution

lguinn2
Legend

The Splunk Admin can set permissions on the apps by role. So you will need to edit each app, giving READ permission to only the appropriate role(s). Users will not see an app in the menu unless they have permission to access it.

View solution in original post

lguinn2
Legend

The Splunk Admin can set permissions on the apps by role. So you will need to edit each app, giving READ permission to only the appropriate role(s). Users will not see an app in the menu unless they have permission to access it.

Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...