cancel
Showing results for 
Search instead for 
Did you mean: 

Add globalPermission to permissionDefinitions

drocco88
Champ in-the-making
Champ in-the-making
Hi there,

I'm getting "Failed to create permission model document" when trying to extend permissionDefinitions.xml:

I create a context file:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>

   <!– Bootstrap the permission model –>
    <bean id="extend_PermissionModel" parent="permissionModelBootstrap">
       <property name="model" value="alfresco/extension/permissionModelExtension.xml"/>
    </bean>

</beans>

and permissionModelExtension.xml:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE permissions >
<permissions>
   <!– Unlock is granted to the lock owner                                              –>
   <globalPermission permission="CancelCheckOut" authority="GROUP_CancelCheckOut"/>

</permissions>

What am I missing?

Thanks
3 REPLIES 3

drocco88
Champ in-the-making
Champ in-the-making
Ok founded is related with the permission schema.

Copy and paste all permissionDefinitions.xml and applying changes works, but only trying to add a new globalPermission and doesn't.

How can I just add a single globalPermission?

rajupingili
Champ in-the-making
Champ in-the-making
Did u resolve this, i am also looking for same thing.if you have done this, can you please help me.

mitpatoliya
Star Collaborator
Star Collaborator
tetw