cancel
Showing results for 
Search instead for 
Did you mean: 

add new role

priyankasoni
Champ in-the-making
Champ in-the-making
Hi i want to craete a new role, like user or group only read content, but dont change it , How we can add a new role in alfresco
4 REPLIES 4

jpotts
World-Class Innovator
World-Class Innovator
The out-of-the-box Consumer role is a read-only role. You can assign a user or group to that role for any folder or object. Does that work for you?

If not, you might start <a href="https://wiki.alfresco.com/wiki/Custom_Permissions_in_Share#Define_A_New_Role">here</a>.

Jeff

davisw
Champ in-the-making
Champ in-the-making
Alfresco 4.2

Refer to the "Custom Permissions in Share" in wiki. Understand that need to customize sitePermissionDefinitions.xml for creating a 'New Role'. And there is side effect that existing site(s) will break.

Apart from manual editing the file(s), are there any systemic way or user friendly method to create a new role? Thank you.


Davis

jpotts
World-Class Innovator
World-Class Innovator
No, in the current release there is no user-friendly way to create a new role.

Jeff

kaynezhang
World-Class Innovator
World-Class Innovator
You can  extend the existing model using spring bean without editing  existing model.
sample code like this

<bean id="yourPermissionModel" parent="permissionModelBootstrap">
   <property name="model" value="alfresco/extension/yourPermissionModel.xml" />
</bean>

You can look to http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsecur-permi...