POST _security/role/testrole4
{
"cluster": [
"all"
],
"indices": [
{
"names": [
"-abc"
],
"privileges": [
"all"
],
"allow_restricted_indices": true
}
],
"applications": [
{
"application": "",
"privileges": [
""
],
"resources": [
""
]
}
],
"run_as": [
""
],
"transient_metadata": {}
}
Here I don't want index "abc" to be created, but other indices should be created but currently I am unable to create any indices. Also if I give "*" there it works, but the validation fails as "abc " can also be created.
Thanks for help