Home > Enterprise >  Elasticsearch permissions system
Elasticsearch permissions system

Time:07-01

I'm searching for a search engine to use on an upcoming project and Elasticsearch so far seems a good fit I just have one requirement that I'm not sure how I can achieve it on Elasticsearch.

In my application I will have a set of forms and the user may me able to see it or not depending on their permissions. Every form as a unique set of custom permissions so how can I hide the forms that the user does not have access to from the search results?

Thanks

CodePudding user response:

You can try to create Role-based access. Define the roles for your users and use them as tags for the form data while storing it. Then your search query can use the role of the user to filter the tags in the data.

Hope this helps.

CodePudding user response:

Elasticsearch has a field and document level security but its not available in the free and basic license, refer enter image description here

  • Related