AnsweredAssumed Answered

Prohibit file deletion.

Question asked by statira on Nov 19, 2015
Latest reply on Nov 23, 2015 by statira
Hello again,
I want to prohibit all users except alfresco admins to delete files, even ones they created themselves. I've tried this:

Add somewhere near the top of the model/permissionDefinitions.xml file new permissionGroup definition and assign permissions by your needs:

<permissionGroup name=”FullWithoutDelete” allowFullControl=”false” expose=”false”>
<includePermissionGroup type=”sys:base” permissionGroup=”Read”/>
<includePermissionGroup type=”sys:base” permissionGroup=”Write”/>
<includePermissionGroup type=”sys:base” permissionGroup=”AddChildren”/>
<includePermissionGroup type=”sys:base” permissionGroup=”Execute”/>

then find:

<globalPermission permission=”FullControl” authority=”ROLE_OWNER”/>

and change it to:

<globalPermission permission=”FullWithoutDelete” authority=”ROLE_OWNER”/>

but it gave me absolutelu no result. It seems that changes just not applying. What am I missing?