Dashboards & Visualizations

Is it possible to sent the default permission for any dashboard create within a custom to app instead of private?

djreschke
Communicator

I have a custom app built for a team and I want them to be able to create dashboards that is shared by default with the app instead of private. Here is the role capability for the users, they were created to be very basic as majority of the users barely understand Splunk.

User capapbilities:

export_results_is_visible
get_metadata
get_typeahead
pattern_detect
rest_apps_view
rest_properties_get
rest_properties_set
search

Any suggestions or pointers would be greatly appreciated. Thanks Everyone.

0 Karma
1 Solution

manjunathmeti
SplunkTrust
SplunkTrust

It is not possible. When a user creates a new dashboard by default its permissions set to Private. It's user job to configure permissions for the dashboard to share the dashboard in the current app context.

View solution in original post

0 Karma

manjunathmeti
SplunkTrust
SplunkTrust

It is not possible. When a user creates a new dashboard by default its permissions set to Private. It's user job to configure permissions for the dashboard to share the dashboard in the current app context.

0 Karma

djreschke
Communicator

@manjunathmeti

That is what i figured but it doesn't hurt to ask. Based on the capabilities I have given the user, they can't change the permission of the dashboard they create and you can view their dashboard if it is private with going into the users folder.

Any suggestions for what capabilities they need?

Thank you,

Derek

0 Karma

manjunathmeti
SplunkTrust
SplunkTrust

You need to give write permissions to the users role in app metadata. Create default.meta in yourapp/metadata/ and add below content.

[views]
access = read : [  ], write : [ admin, <role_name>]

Check this for more info: https://dev.splunk.com/enterprise/docs/developapps/createapps/setpermissionsforobjects/#Set-permissi...

0 Karma

djreschke
Communicator

@manjunathmeti _ Thank you for the information an your help.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...