Hi-
i am trying to modify permissions on the nav menu of an app, default.xml. After i save my change, and click on the permissions link again, i see that the change did not take effect.
I did find the following similar post:
http://answers.splunk.com/answers/84175/cant-set-permissions-for-the-navigation-menu
there is not definite answer as to what we should do to fix this. I tried adding the metadata folder with local.meta file in $SPLUNK/etc/apps/idm_app/local/ directory containing this:
[nav/default]
access = read : [ * ], write : [ admin, role_idm ]
owner = nobody
Still the permissions page does NOT show the write checkbox for the role_idm checked.
Can anyone recommend a way to make this work?
THanks!
Nathalie
Make sure all default.xml files in every app have app level permissions. We had another default.xml file in a different app set with global permissions. Once we changed all default.xml files to have app level permissions, we did see the changes we had made to the permissions show up in the UI and the correct roles were able to edit it.
Hi ngholmieh,
your local.meta
file should be in $SPLUNK_HOME/etc/apps/YourAppDir/metadata/
not in $SPLUNK_HOME/etc/apps/YourAppDir/local/
.
See the docs for more details ...
cheers, MuS
which account the splunkd is running under? could you provide admin access to all the path?
[nav/default]
access = read : [ * ], write : [ admin, role_idm ]
owner = admin
yes i did. still same behavior. THanks for your help!
N~
did you restart splunk?
I will look at this tomorrow 😉
Hi MuS-
thanks for your answer. I did create the file in the wrong place indeed, but i went back and checked that the local.meta file actually existed in $SPLUNK_HOME/etc/apps/MyAppDir/metadata/, and it had the appropriate perms
[nav/default]
access = read : [ * ], write : [ admin, role_idm ]
owner = nobody
version = xxx
modtime = xxx
however users in role_admin still cannot write to nav/default.xml
when i re-open the permissions page in the GUI, i only see write for admin.
Any other hints?
thanks!
n~