Hi,
I have been looking into users roles and permission documentation on Alfresco to wrap my head around a task that I have been assigned but I am not yet able to figure out how to do it.
My task involves around a custom admin role that has all the working of admin but document type node update, create, delete and folder type node create and delete.
Any guidance here will be appreciated.
Thanks
Hiten Rastogi
You can create custom role and setup appropriate permission group for your task, where you can allow read/write/delete. Look at the permissionDefinition.xml to start with.
The below given permissionGroup is configured in a permission set on type cm:cmobject. You can create your own permissionGroup in same way.
<permissionSet type="cm:cmobject" expose="selected">
<permissionGroup name="RecordAdministrator" allowFullControl="false" expose="false">
<includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/>
<includePermissionGroup type="sys:base" permissionGroup="ReadChildren"/>
<includePermissionGroup type="sys:base" permissionGroup="WriteProperties"/>
<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"/>
</permissionGroup>
</permissionSet>
See full xml file here: https://github.com/Alfresco/alfresco-repository/blob/af2e069b2eabcd5433cee39d83ec06bad6fc69a0/src/ma...
Refer here:
https://docs.alfresco.com/5.2/references/dev-extension-points-permissions.html
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.