I have an query regarding granting access to the users in groups. I am not sure whether it is available in current config or not. Is there a way to map the users to a group in Searchguard.
For an instance: I have users like joe, jhon, and adam who belongs to HR
Currently I give access by mapping the user to index “sg_roles_mapping.yml” like
sg_Hr_index:
users:
adam
Joe
_ Jhon
By any chance can we define like in sg_internal-users.yml :
So, you need in the sg_internal_users.yml something like:
joe:
hash: …
roles:
- hr
adam:
hash: …
roles:
- hr
``
And then in sg_roles_mapping.yml you would map the backend role “hr” to the Search Guard role like:
sg_hr_index:
backendroles:
- hr
``
···
On Wednesday, May 10, 2017 at 5:13:30 PM UTC+2, Yasvanth Babu wrote:
I have an query regarding granting access to the users in groups. I am not sure whether it is available in current config or not. Is there a way to map the users to a group in Searchguard.
For an instance: I have users like joe, jhon, and adam who belongs to HR
Currently I give access by mapping the user to index “sg_roles_mapping.yml” like
sg_Hr_index:
users:
adam
Joe
_ Jhon
By any chance can we define like in sg_internal-users.yml :
So, you need in the sg_internal_users.yml something like:
joe:
hash: …
roles:
- hr
adam:
hash: …
roles:
- hr
``
And then in sg_roles_mapping.yml you would map the backend role “hr” to the Search Guard role like:
sg_hr_index:
backendroles:
- hr
``
On Wednesday, May 10, 2017 at 5:13:30 PM UTC+2, Yasvanth Babu wrote:
I have an query regarding granting access to the users in groups. I am not sure whether it is available in current config or not. Is there a way to map the users to a group in Searchguard.
For an instance: I have users like joe, jhon, and adam who belongs to HR
Currently I give access by mapping the user to index “sg_roles_mapping.yml” like
sg_Hr_index:
users:
adam
Joe
_ Jhon
By any chance can we define like in sg_internal-users.yml :