cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce permissions of colloborator

hari
Star Contributor
Star Contributor
Hi All,

I have come across a requirement where in I have to allow the user only to add or update the content in the site but not delete the content.

I have searched the earlier posts and have added a rule to the folder where in I change the owner to admin once the content is added to it.
This way I am restricting the user from deleting the file as I wanted but unfortunately he is unable to update/ upload new versions of the same document.

Please suggest a solution to my problem.
Request you to add as much detail as possible in your reply as I am very new to Alfresco.

Thanks in advance.

Hari.
5 REPLIES 5

romschn
Star Collaborator
Star Collaborator
One option would be to create a custom role with no deletion permission.And assign all your site users this role. This way, they would be able to add/update any content but not delete them.

Hope this helps.

hari
Star Contributor
Star Contributor
Thanks for your quick reply Ramesh.

Now I am wondering how I can create a custom role in Alfresco. When I searched in the forums, I found out that we need to edit permissionDefinitions.xml in /tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/permissionDefinitions.xml.

I am currently working on Alfresco Community 5 and I cannot find that file anywhere in Alfresco installation. Please direct me to the file I need to edit.

Thanks,
Hari.

romschn
Star Collaborator
Star Collaborator
I am not having alfresco installation handy at the moment on my local machine. However, it should be present in alfresco-repository-*.jar i think.

Hope this helps.

hari
Star Contributor
Star Contributor
Thanks for your Reply Ramesh.

But I am still struck on this and looking for a solution.

Hello Ramesh,
Do you have details on how to create the custom role with no deletion?
I have created my CustomRole but I don't know how to disapear with delete.
Thanks