06-21-2007 05:43 AM
<!– Delete document –>
<action id="delete_doc">
<permissions>
<permission allow="false">Workf</permission>
<permission allow="true">Delete</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.Del
……..
Cela fait l affaire si on fait bien attention a ne pas donner a Workf les memes permissions que le groupe Delete c'est a dire dans le fichier Permission <permissionGroup name="Delete" expose="true" allowFullControl="false">
<includePermissionGroup type="sys:base" permissionGroup="DeleteNode"/>
<includePermissionGroup type="sys:base" permissionGroup="DeleteChildren"/>
</permissionGroup>
Par example si on met seulement DeleteChildren dans Workf, on a ce que l'on veut.06-22-2007 01:10 AM
<permissionGroup name="MoveChildren" expose="true" allowFullControl="false">
<includePermissionGroup type="sys:base" permissionGroup="DeleteNode"/>
<includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/>
<includePermissionGroup type="sys:base" permissionGroup="ReadChildren"/>
<includePermissionGroup type="sys:base" permissionGroup="ReadContent"/>
<includePermissionGroup type="sys:base" permissionGroup="DeleteChildren"/>
<includePermissionGroup type="sys:base" permissionGroup="CreateChildren"/>
<includePermissionGroup type="sys:base" permissionGroup="LinkChildren"/>
<includePermissionGroup type="sys:base" permissionGroup="DeleteAssociations"/>
<includePermissionGroup type="sys:base" permissionGroup="CreateAssociations"/>
<includePermissionGroup type="sys:base" permissionGroup="Write"/>
</permissionGroup>
avec moveChildren dans la permission Workf que l'on accorde a l utilisateur Tester. <permissionGroup name="DummyPermission" expose="true" allowFullControl="false" />
Dans les permissions Groups Delete, CreateChildren2 qui contient Createchildren et Write2 qui contient Write.06-26-2007 11:43 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.