That's not how you spell privileges.
If that has been directly copied from your roles.yml file, then this role is invalid and will be ignored.
The logs should report that.
I received:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [user1]"
}
],
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [user1]"
},
"status": 403
}
where user1 is user name.
When I assign the LDAP_GROUP_1 to superuser role , however, it can get the search results.
Did miss something on this role? maybe this role did not have access to my_index_name_1 mentioned above?
It turns out that I need to update data nodes with the role to get the admin_users work.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.