Give all accesses to members of group SLC
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 9 Jul 2012 16:29:42 +0000 (16:29 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 9 Jul 2012 16:29:42 +0000 (16:29 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@5428 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

modules/server/org.argeo.slc.node.jackrabbit/META-INF/spring/jackrabbit.xml

index 097866055256adcfe71e5cae24f2d59be363405d..311698e8f7c5c183283fc66006f213c4c1e694c9 100644 (file)
                <property name="bundleContext" ref="bundleContext" />
        </bean>
 
+       <!-- Security -->
+       <bean class="org.argeo.jackrabbit.JackrabbitAuthorizations"
+               init-method="run">
+               <property name="principalPrivileges">
+                       <map>
+                               <entry key="jcr:all" value="ROLE_SLC" />
+                       </map>
+               </property>
+               <property name="repository" ref="jcrRepository" />
+       </bean>
+
        <bean
                class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
                <description><![CDATA[Executes initialization with a system authentication]]></description>