cancel
Showing results for 
Search instead for 
Did you mean: 

Users should be able to upload docs, but should not delete

bisana
Champ on-the-rise
Champ on-the-rise
Hi
I want to create a site in which, I have few users who can upload / checkin the documents, but they should not be able to delete the documents
Is it possible
Advice requested
3 REPLIES 3

billerby
Champ on-the-rise
Champ on-the-rise
You could implement a onDeleteNode policy which triggers on an aspect or type where you for example proceeds with the delete only if the user have administrator privileges.

bisana
Champ on-the-rise
Champ on-the-rise
Thanks for the advice,
I will try to create policy, but I do not know from where to start. Can you guide with a URL or other resource to read
Thanks

scouil
Star Contributor
Star Contributor
Actually have a look at: http://www.alfresco.com/help/webclient/concepts/cuh-user-roles-permissions.html
Doesn't your need corresponds to the built-in Collaborator role?

If not, the custom behavior on the onDeleteNode events is a possible way to go. To learn more about custom behavior: http://ecmarchitect.com/archives/2007/09/26/770
But in your case a simple folder rule (view folder details > manage rules) could be enough