Hey all, although the permission does not appear in the console and cannot be added that way, you can add it via the API. Here I’m adding indices_all permission to the actual index pattern “test*” and the “indices:admin/resolve/index” permission to everything (*). Not ideal, but this seems to work.
PUT _opendistro/_security/api/roles/js-test
{
"cluster_permissions" : [ ],
"index_permissions" : [
{
"index_patterns" : [
"test*"
],
"dls" : "",
"fls" : [ ],
"masked_fields" : [ ],
"allowed_actions" : [
"indices_all"
]
},
{
"index_patterns" : [
"*"
],
"dls" : "",
"fls" : [ ],
"masked_fields" : [ ],
"allowed_actions" : [
"indices:admin/resolve/index"]
}
],
"tenant_permissions" : [
{
"tenant_patterns" : [
"global_tenant"
],
"allowed_actions" : [
"kibana_all_read"
]
}
]
}