0

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

paul
  • 12,873
  • 23
  • 91
  • 153
  • 1
    Why not set permissions on `/Company Home/A` so that only people from A can access it, `/Company Home/B` so that only B people can get it it, and global read to `/Company Home` ? An A user connecting to home would only see the A subfolder, B users the B one, and only admin both. Won't that do it? – Gagravarr Jul 20 '15 at 17:07
  • @Gagravarr You just describe what I want, but I cannot achieve that!, if I give permissions on Company home/ Automatically you have permissions for read all nested folders of Company home. Do you know Alfresco?, do you know how to achieve what you just describe?. Thanks – paul Jul 20 '15 at 17:42
  • 1
    You can control if permissions are inherited or not. Turn off inheritance on the A and B subfolders, and you should be set! – Gagravarr Jul 20 '15 at 22:06
  • you´re the man! thanks! – paul Jul 21 '15 at 06:17

1 Answers1

1

Promoting a comment to an answer:

What you need to do is:

  1. Give all users Read (Consumer) access to /Company Home
  2. Give only B users access to /Company Home/B and remove Inherit Permissions to stop A users having access
  3. Give only A users access to /Company Home/A and remove Inherit 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

Before

After

Gagravarr
  • 47,320
  • 10
  • 111
  • 156