Hi,
I have created role that copies the permissions of admin limited to list of indices and single tenant.
Below is the API used to create my role.
PUT _opendistro/_security/api/roles/ars-admin
{
“cluster_permissions”: [
" * "
],
“index_permissions”: [
{
“index_patterns”: [
" ars-* "
],
“dls”: “”,
“fls”: ,
“masked_fields”: ,
“allowed_actions”: [
" * "
]
}
],
“tenant_permissions”: [
{
“tenant_patterns”: [
“ars”
],
“allowed_actions”: [
“kibana_all_write”
]
}
]
}
I have mapped users as ars-admin backend role should be assigned with this role. Role is being assigned to the user and tenant permission limiting to ars tenant only.
But when I tried to use GET API for indices it started throwing permission denied error as below.
“no permissions for [indices:monitor/settings/get] and User [name=ars user, backend_roles=[ars-role, offline_access, ars-admin, uma_authorization], requestedTenant=ars]”
On changing index_patterns: [ “*” ] in the role this issue getting resolved.
How can I resolve this permission issue??
Any help is more appreciated.