Security

How to create an superpower role that is able to add a restricted list of roles to users?

francoisternois
Path Finder

Hello,

I would like to create a role which allows to add roles to users on a limited perimeter. The goal is to delegate a part of the user/role mapping to superpowerusers according to their perimeter.

For example:
user1 can add as role only role1 (no any other role)

I have already tried with the following authorize.conf configurations

[role_superpoweruser]
edit_user = enabled
edit_roles_grantable=enabled
grantableRoles = role1;
=> allows to add ALL roles (including others than role1)

[role_superpoweruser]
edit_user = enabled
grantableRoles = role1;
=> the user can add role1 but it removes ALL other roles

Any help would be greatly appreciated

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @francoisternois,

for my knowledge it isn't possible because the grant to add role is on/off , you canod give the possibility to add only some roles.

ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @francoisternois,

for my knowledge it isn't possible because the grant to add role is on/off , you canod give the possibility to add only some roles.

ciao.

Giuseppe

francoisternois
Path Finder

Thank you for your answer.

It would be very useful 😕

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @francoisternois ,

good for you, see next time!

let me know if I can help you more, or, please, accept one answer for the other people of Community.

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...