Did you saw
https://docs.search-guard.com/latest/document-level-security#ldap-and-jwt-user-attributes
https://docs.search-guard.com/latest/troubleshooting-search-guard-user-roles#custom-attributes
Do you use any other authentication/authorization module beside internal user database? (like ldap, jwt, ...)
> Am 11.02.2019 um 17:42 schrieb Venkata Naresh <
divi.v...@gmail.com>:
>
> When asking questions, please provide the following information:
>
> * Search Guard and Elasticsearch version
> 6.4.3
> * Installed and used enterprise modules, if any
> * JVM version and operating system version
> 1.8.0_181
> * Search Guard configuration files
> * Elasticsearch log messages on debug level
> * Other installed Elasticsearch or Kibana plugins, if any
>
> Hi,
>
> I want to try DLS in SG. My requirement is, from the user I will get USERNAME,PASSWORD and USERID. So when the user login we will get the client ID and how to apply DLS on client ID parameter. I have seen DLS based on username but I'm not getting how to apply using custom fields.
>
> Also what is the use of User Attributes in SG Internal User Database block.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
search-guard...@googlegroups.com.
> To post to this group, send email to
search...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/search-guard/a731ff29-623f-4513-a1b2-a7504bd05dc6%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.