]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - modules/server/org.argeo.slc.node.jackrabbit/META-INF/spring/jackrabbit.xml
Give all accesses to members of group SLC
[gpl/argeo-slc.git] / 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>