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