cancel
Showing results for 
Search instead for 
Did you mean: 

Creating custom Roles in Alfresco Share

praveen_5685
Champ in-the-making
Champ in-the-making
Hi All,

Can anyone help me how to create custom Roles in Alfresco Share.

Thanks in Advance,
Badam.
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
You could add a custom role in permissionDefinitions.xml
under
/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/permissionDefinitions.xml

Thanks for ur reply,

Ya I tried using permissionDefinitions.xml file with this I can only apply permissions to content(i.e.,folder or a document). But My requirement is I need to display link in Alfresco header bar based on Roles.

For example : I need to display some options to Project Manager based on Role.

mitpatoliya
Star Collaborator
Star Collaborator
Also this could help you in configuring the custom roles
https://wiki.alfresco.com/wiki/Custom_Permissions_in_Share

mitpatoliya
Star Collaborator
Star Collaborator
for that you need to do the customization in the script related to header bar.
did in to the code and find out which webscript is responsible for rendering the header bar and then make changes in the ftl or js of that script to achieve what you are looking for.