cancel
Showing results for 
Search instead for 
Did you mean: 

User Level Permissions

vikramvm
Champ in-the-making
Champ in-the-making
We are trying to implement Alfresco Share at our organization as an alternative to Sharepoint / Documentum. The installation was smooth but I am now stuck up while configuring permissions for documents.

Here is the scenario.

1. Created a site say " Document Sharing Site"
2. Added 4 documents ( doc1, doc2, doc3 , doc4 ) in the "Document Library"
3. Invited User1 & User2  to site.
4. User1 has read access to all four documents
5. User2 has read access to doc1 & doc2 and NO ACCESS ( not even read access ) to doc3 & doc4.

How do I achieve this. I was able to do the same easily in Documentum.  I have not checked the same in Sharepoint.

In User permissions all I can see is that I can assign particular groups a particular role ( Consumers have Consumer Access etc.)

Is there any programming skills required to achieve this or is it available out of the box ?

Is there any link / resource that will help me to achieve this. I have searched Alfresco WIKI and web but not able to find any such scenario which would be helpful for non programmers.

Please help.

Please help.
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Currently Share doesn't allow you to set fine-grained permissions such as your use case. As you've noticed it's all done via group management rather than individuals.

Detailed permissions can be set using the Explorer interface at http://<server>/alfresco

Thanks,
Mike

vikramvm
Champ in-the-making
Champ in-the-making
Thanks MikeH for the reply.

I created a group "site_docshare_group1" using "Manage User Groups" menu for the site created by me.
I added user1 to this newly created group.

Under document libraray for doc1 I wanted to assign permissions for this newly created group.  So I opened Document Library –>  doc1 –> More –> Manage Permissions. A Groups and Permissions window pops up but I can not see site_docshare_group1 in this window.

Then I found a file "sitePermissionDefinitions.xml" under "/var/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model". In this file I added three line in permissionSet tag.

<permissionGroup name="site_docshare_group1" allowFullControl="false" expose="true">
         <includePermissionGroup permissionGroup="Consumer" type="cm:cmobject" />
</permissionGroup>


Restarted alfresco and again opened "Manage Permissions" dialog. I could see new group in the window. I gave "No privileges" to this new group ( which contains user User1. Please note User1 is not part of any other group ).  Then I logged in with credentials of User1. But still I could open/ view  doc1. Also I found that other parts of Alfresco Share web portal got broken ( e.g members list ). I then reverted back the changes and everything was normal.

Basically I would like to know how to add custom groups and assign rights to those groups to particular document.

Any help would be appreciated.

mikeh
Star Contributor
Star Contributor
Detailed permissions can be set using the Explorer interface at http://<server>/alfresco
You need to use the Alfresco Explorer web application instead of Share.

Thanks,
Mike

ati_dip1982
Champ in-the-making
Champ in-the-making
Hi vikramvm ,
This can be achieved via explorer very easily.

What you need to do is go to sites folder and then document library. click on the folder properties which you want to explore and on right hand side you will find actions tab in which there is a link "manage space users". When you click in that link  u will get a window where you need to uncheck inherit parent space permissions, now this folder wont be visible to anyone unless you invite any particular user in that space, the same thing will be applied to the contents present in that folder , here the link will be "manage content users".

hope this helps,
Thanks,
Atish