问题
In Alfresco I have this structure /Company Home/A and /Company Home/B some users home folders are set to A and others set to B.
Problem: I see that in order to connect from my application to Alfresco though OpenCMIS, I need connect there using the repositoryId, aka MainRepository(Company home), so I need give all users from A and B permissions to connect to there. So that´s means that if a users from A connect to Alfresco, they can read documents from B, and the other way around.
I was expecting using OpenCMIS can connect directly to my home folder.
Any idea or suggestion about my issue?.
Thanks
回答1:
Promoting a comment to an answer:
What you need to do is:
- Give all users Read (Consumer) access to
/Company Home
- Give only B users access to
/Company Home/B
and removeInherit Permissions
to stop A users having access - Give only A users access to
/Company Home/A
and removeInherit Permissions
to stop B users having access
To do those changes, use the Repository Browser to be able to play with Company Home, then use Manage Permissions. Clock on Inherit Permissions
and go through a prompt to remove them, then add in the appropriate groups. It should look roughly like
来源:https://stackoverflow.com/questions/31518723/alfresco-opencmis-connect-to-home-folder