cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing Specific user Roles and Permissions?!

sukhonali
Champ in-the-making
Champ in-the-making
I need to know how to create and customize specific user roles and permissions other than the ones present in the alfresco system.
1 REPLY 1

sukhonali
Champ in-the-making
Champ in-the-making
I have found the solution for the problem, and i hope this helps other people  :wink:

Create a custom role



You can add a new custom role according to your security requirements. You will

have to include the custom role details in the permissionDefinitions.xml file,

which is located at <config>\model\. For a Tomcat installation, you can find

this file at tomcat\webapps\alfresco\WEB-INF\classes\alfresco\model\

permissionDefinitions.xml.

You need to define your own permissions group (say TestRole) and assign

permissions as shown below:

<permissionGroup name="TestRole" allowFullControl="false"

expose="true" >

<includePermissionGroup permissionGroup="Read" type="sys:base" />

<includePermissionGroup permissionGroup="AddChildren"

type="sys:base"/>

<includePermissionGroup type="cm:lockable"

permissionGroup="CheckOut"/>

</permissionGroup>

Once you make the changes to the XML file, you need to restart Alfresco to have the

new role added to the system.