How to prevent a role with edit_user account capabilities from deleting admin role?



I need to allow some specific accounts to manage users. I created a "subadmin" role with edit_user capability.
My users with subadmin role can now add and edit user accounts and a good thing is that they can only assign the roles they are members of ( subadmin, user and guest ).

But unfortunately they can also delete users with higher privileges: my subadmin user can also delete my superadmin user.

Is there any way to prevent this ? I'm using splunk authentification method.

0 Karma


Splunk's user management is pretty limited. You are much better off using ldap to groups and tie those groups to roles with the desired privileges assigned. Then let folks manage their users via more traditional means such as Active Directory group membership in those mapped groups. Not touching Splunk themselves.

0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!


Or Learn More in Our Blog >>