Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Open Search 2.15
Describe the issue:
I want to disable the delete option of index pattern from a non-admin user.
Below are the permission details of the roles…
{
“cluster_permissions”: [
“cluster:monitor/state”,
“cluster:monitor/health”,
“cluster:admin/opendistro/ism/policy/search”,
“cluster_composite_ops_ro”
],
“index_permissions”: [
{
“index_patterns”: [
“epcis*”
],
“dls”: “{"term": {"billto_gln": "0847976000045"}}”,
“allowed_actions”: [
“indices:data/read/get”,
“indices:data/read/search”,
“indices:data/write/index”,
“indices:data/write/bulk”,
“indices:monitor/settings/get”,
“indices:monitor/stats”,
“indices:monitor/recovery”
]
},
{
"index_patterns": [
".kibana*"
],
"allowed_actions": [
"indices:data/read/get",
"indices:data/read/search",
"indices:data/write/index",
"indices:data/write/bulk",
"indices:monitor/settings/get",
"indices:monitor/stats",
"indices:monitor/recovery"
]
}
],
“tenant_permissions”: [
{
“tenant_patterns”: [
“global_tenant”
],
“allowed_actions”: [
“kibana_all_read”
]
}
]
}
Configuration:
Relevant Logs or Screenshots: