How to hide the default roles in alfresco share
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2011 06:41 AM
Hello all
I am trying to create new custom roles for alfresco share.
i.e custom collaborator,custom managers etc.
i need to use these custom roles,when i invite the users for particular new site in share,
at the moment i need to hide the default/existing roles of alfresco share already provided,and show only the new roles created.
and also want to know how to assign read,write.. permissions to the new roles(r,w,x).
Thanks
tapan
I am trying to create new custom roles for alfresco share.
i.e custom collaborator,custom managers etc.
i need to use these custom roles,when i invite the users for particular new site in share,
at the moment i need to hide the default/existing roles of alfresco share already provided,and show only the new roles created.
and also want to know how to assign read,write.. permissions to the new roles(r,w,x).
Thanks
tapan
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 10:49 PM
Hi
I followed this link to create custom permissions.
http://wiki.alfresco.com/wiki/Custom_Permissions_in_Share
You can probably play with the code to hide the default permissions
I followed this link to create custom permissions.
http://wiki.alfresco.com/wiki/Custom_Permissions_in_Share
You can probably play with the code to hide the default permissions

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2011 04:49 AM
Yes, Above link will help anyone to create a new Roles.
To assign low level permissions for a custom role:
Here are the available low-level permission groups
One have to use these groups in new role e.g
To hide the out of the box available Roles:
You can comment/remove them from the model file. But doing this will not display OOTB Roles anywhere in the system.
To assign low level permissions for a custom role:
Here are the available low-level permission groups
<permissionGroup name="ReadProperties" expose="true" allowFullControl="false" /> <permissionGroup name="ReadChildren" expose="true" allowFullControl="false" /> <permissionGroup name="WriteProperties" expose="true" allowFullControl="false" /> <permissionGroup name="ReadContent" expose="false" allowFullControl="false" /> <permissionGroup name="WriteContent" expose="false" allowFullControl="false" /> <permissionGroup name="ExecuteContent" expose="false" allowFullControl="false" /> <permissionGroup name="DeleteNode" expose="true" allowFullControl="false" /> <permissionGroup name="DeleteChildren" expose="true" allowFullControl="false" /> <permissionGroup name="CreateChildren" expose="true" allowFullControl="false" /> <permissionGroup name="LinkChildren" expose="true" allowFullControl="false" /> <permissionGroup name="DeleteAssociations" expose="true" allowFullControl="false" /> <permissionGroup name="ReadAssociations" expose="true" allowFullControl="false" /> <permissionGroup name="CreateAssociations" expose="true" allowFullControl="false" /> <permissionGroup name="ReadPermissions" expose="true" allowFullControl="false" /> <permissionGroup name="ChangePermissions" expose="true" allowFullControl="false" /> <permissionGroup name="Flatten" expose="true" allowFullControl="false" />
One have to use these groups in new role e.g
<permissionGroup name="My-Custome-Role" allowFullControl="false" expose="true"> <includePermissionGroup permissionGroup="[b]Consumer[/b]" type="cm:cmobject" /> <includePermissionGroup permissionGroup="[b]ReadPermissions[/b]" type="sys:base" /> <includePermissionGroup permissionGroup="[b]AddChildren[/b]" type="sys:base" /> <includePermissionGroup permissionGroup="[b]Write[/b]" type="sys:base" /> … …</permissionGroup
To hide the out of the box available Roles:
You can comment/remove them from the model file. But doing this will not display OOTB Roles anywhere in the system.
