I'm currently implementing a smart folder, and I can't find the documentation I need.
The goal of the smart folder is to list all the documents located in other people's home folders, which have been made accessible to the current user.
For example, my name is Nico, and I grant read access to document1.docx to the user Mike.
In this case, Mike should see, in the smart folder, the document1.docx.
In natural language, the query would look like this :
"Show me all the documents from the folder User Homes, except my own personal folder".
The permission system will naturally hide the documents I'm not allowed to access.
I'm a big newbie in the alfresco document model and found very few documentation about the PATH criteria in smart folder queries.
I guess it might look like this :
"query": "(PATH:'/app:company_home/User Homes//*') AND NOT (PATH:'/app:company_home/User Homes/%MY_PERSONAL_FOLDER%')"
But of course not
Could anyone give me some clues please ?
Thanks a lot !