Our application is based on the following model Project -> Workbooks ->
Content
Users can have many Projects and many Workbooks. Users can Invite other
users to collaborate on their Projects/Workbooks.
I would like setup elasticsearch in way that it allows users to search for
any content within the Projects/workbook they have created or have
subscribed to.
What is the best practice to restrict search results to a specific user or
model elastic search to enforce this?
Basically, I would say: add in your workbook/project all users that can have an access (array of users). It means update all projects/workbooks each a user grant rights to another one.
Does it help?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Our application is based on the following model Project -> Workbooks -> Content
Users can have many Projects and many Workbooks. Users can Invite other users to collaborate on their Projects/Workbooks.
I would like setup elasticsearch in way that it allows users to search for any content within the Projects/workbook they have created or have subscribed to.
What is the best practice to restrict search results to a specific user or model elastic search to enforce this?
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.