sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r1766774 - /sling/trunk/karaf/org.apache.sling.karaf-repoinit/src/main/resources/repoinit.txt
Date Thu, 27 Oct 2016 08:05:35 GMT
Author: olli
Date: Thu Oct 27 08:05:35 2016
New Revision: 1766774

URL: http://svn.apache.org/viewvc?rev=1766774&view=rev
Log:
add repoinit statements for sling-event, sling-i18n, sling-scripting, sling-xss and everyone

Modified:
    sling/trunk/karaf/org.apache.sling.karaf-repoinit/src/main/resources/repoinit.txt

Modified: sling/trunk/karaf/org.apache.sling.karaf-repoinit/src/main/resources/repoinit.txt
URL: http://svn.apache.org/viewvc/sling/trunk/karaf/org.apache.sling.karaf-repoinit/src/main/resources/repoinit.txt?rev=1766774&r1=1766773&r2=1766774&view=diff
==============================================================================
--- sling/trunk/karaf/org.apache.sling.karaf-repoinit/src/main/resources/repoinit.txt (original)
+++ sling/trunk/karaf/org.apache.sling.karaf-repoinit/src/main/resources/repoinit.txt Thu
Oct 27 08:05:35 2016
@@ -17,3 +17,41 @@
 #
 ################################################################################
 
+create service user sling-event
+create service user sling-i18n
+create service user sling-scripting
+create service user sling-xss
+
+create path (sling:Folder) /apps
+create path (sling:Folder) /apps/sling
+create path (sling:Folder) /apps/sling/xss
+create path (sling:Folder) /libs
+create path (sling:Folder) /libs/sling
+create path (sling:Folder) /libs/sling/xss
+create path (sling:Folder) /var
+create path (sling:Folder) /var/eventing
+
+set ACL for sling-event
+    allow   jcr:all     on /var/eventing
+end
+
+set ACL for sling-i18n
+    allow   jcr:read    on /apps
+    allow   jcr:read    on /libs
+end
+
+set ACL for sling-scripting
+    allow   jcr:read    on /apps
+    allow   jcr:read    on /libs
+end
+
+set ACL for sling-xss
+    allow   jcr:read    on /apps/sling/xss
+    allow   jcr:read    on /libs/sling/xss
+end
+
+create path (sling:OrderedFolder) /content
+
+set ACL for everyone
+    allow   jcr:read    on /
+end



Mime
View raw message