]> 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 e5aeb2b2bccfb16fa05b4a6dcf60ad8805432103..311698e8f7c5c183283fc66006f213c4c1e694c9 100644 (file)
                <property name="cndFiles">
                        <list>
                                <value>/org/argeo/slc/jcr/slc.cnd</value>
-                               <value>/org/argeo/slc/repo/repo.cnd</value>
+<!--                           <value>/org/argeo/slc/repo/repo.cnd</value> -->
                        </list>
                </property>
                <property name="repository" ref="nodeRepository" />
                <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>