AnsweredAssumed Answered

Add globalPermission to permissionDefinitions

Question asked by drocco88 on Oct 8, 2012
Latest reply on May 30, 2013 by rajupingili
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

Outcomes