Hi all.
Can I use run_as for "role". For example
I several roles: [user_role, customer_role, client_role] and one user: jonny
Can I submit request as user "jonny", to determine what role I want to get the result?
Thanks
Hi all.
Can I use run_as for "role". For example
I several roles: [user_role, customer_role, client_role] and one user: jonny
Can I submit request as user "jonny", to determine what role I want to get the result?
Thanks
Hi Alex,
The run as feature is tied to a user and not roles. When you run as a different user, the request will execute as the run as user with that user's roles.
For example, lets say you have an admin
user that submits a run as request for jonny
. This request will execute with the privileges of all the roles that are assigned to jonny
.
© 2020. All Rights Reserved - Elasticsearch
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.