Adding exclusion rules in role mapping when using LDAP #295
Labels
enhancement
New feature or request
triaged
Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
When using
LDAP
, I would normally have 3 sets of users:1
and2
.As it stands, while
1
and2
can be easily achieved by creating appropriateroles
and mapping them tobackend-roles
, there's no option to create arole mapping
for3
since currently exclusion rules aren't supported via Kibana UI and they don't look to be supported via curl API / JSON as well.Can this feature be incorporated in upcoming releases?
Here's more detailed information.
Admins
. Achieved this by configuring a rolesuperuser
havingunlimited
access to bothcluster
andindices
. Mapped this to thebackend
roleDL-ES-AdminUsers
.End Users
. Achieved this by configuring a roleend_users
havingread
access toall indices
andINDICES_ALL
access to.kibana*
indices and alsoCLUSTER_COMPOSITE_OPS_RO
access. Mapped this to thebackend
roleDL-ES-EndUsers
.Now I want to create a
3rd set
of users who have only RO access. I created a roleusers
withRO
access to all indices andCLUSTER_COMPOSITE_OPS_RO
. However, is there an option to createbackend
mapping such that theusers
role can be mapped to all who areNOT
in1
and2
i.e.NOT in DL-ES-AdminUsers
andNOT in DL-ES-EndUsers
?In normal elasticsearch with x-pack, I would have done the following:
}
But I don't see any option to do similar thing in ODFE
The text was updated successfully, but these errors were encountered: