cancel
Showing results for 
Search instead for 
Did you mean: 

Extending permissionDefinitions.xml

jeyaa
Champ in-the-making
Champ in-the-making
Hi all,
I am using Alfresco Enterprise edition 3.3. I tried extending permissionDefinitions.xml like

Modified public-services-security-context.xml

<bean id='permissionsModelDAO' class="org.alfresco.repo.security.permissions.impl.model.PermissionModel">
        <property name="model">
            [b]<value>alfresco/extension/permissionDefinitions.xml</value>[/b]
        </property>
        <property name="nodeService">
            <ref bean="nodeService" />
        </property>
        <property name="dictionaryService">
            <ref bean="dictionaryService" />
        </property>
    </bean>

I have tried placing the modified permissiondefinitions.xml file in
shared\classes\alfresco\extension\ and also in
WEB-INF\classes\alfresco\extension.

But alfresco doesn't recognize the change I made. In permissionDefinitions.xml file I have created a new Role, but that role is not been recognized in UI. But If I deploy the modified permissionDefinitions.xml file directly into the war ie., into WEB-INF\classes\alfresco\model, then the changes getting reflected. What may be the problem?

Thanks,
2 REPLIES 2

rhoefer
Champ in-the-making
Champ in-the-making
Are you trying to override public-services-security-context.xml in an extension folder or did you modify the property under the original public-services-security-context.xml in WEB-INF?

jeyaa
Champ in-the-making
Champ in-the-making
I am overriding the existing public-services-security-context.xml.
please lemme know How to extend the same?