So David, what can you suggest me to do in order to resolve the following problems?
1) how to get a list of users belonging to a group;
2) how to get all the groups a user belongs to.
Is is possible to resolve them only using Lucene queries or not?
I would like to explain why I need to know these aspects….
In my project users belong to groups. Each user is able to upload files and each uploaded file should become property of the entire group the user belongs to. So, when a user decides to search for metadata and data against the repository, the Alfresco search engine has to provide the user with both the user's data and all the data uploaded by the group the user belongs to. Definitively, I need to get all the data not for the current logged user, but for the group the user belongs to.
Every suggestion will be appreciated.
I hope you could give me a hand, this is the most diffucult problem at the moment.
All the best,
Sergio