sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1775075 - in /sling/trunk/launchpad/builder/src/main/provisioning: repoinit.txt sling.txt
Date Mon, 19 Dec 2016 12:23:27 GMT
Author: cziegeler
Date: Mon Dec 19 12:23:27 2016
New Revision: 1775075

URL: http://svn.apache.org/viewvc?rev=1775075&view=rev
Log:
SLING-5235 : Remove loginAdministrative() usage from org.apache.sling.resourceresolver

Modified:
    sling/trunk/launchpad/builder/src/main/provisioning/repoinit.txt
    sling/trunk/launchpad/builder/src/main/provisioning/sling.txt

Modified: sling/trunk/launchpad/builder/src/main/provisioning/repoinit.txt
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/builder/src/main/provisioning/repoinit.txt?rev=1775075&r1=1775074&r2=1775075&view=diff
==============================================================================
--- sling/trunk/launchpad/builder/src/main/provisioning/repoinit.txt (original)
+++ sling/trunk/launchpad/builder/src/main/provisioning/repoinit.txt Mon Dec 19 12:23:27 2016
@@ -30,6 +30,20 @@
         allow   jcr:read	on /
     end
 
+    # sling-mapping
+    create service user sling-mapping
+
+    set ACL for sling-mapping
+        allow   jcr:read    on /
+    end
+
+    # sling-readall
+    create service user sling-readall
+
+    set ACL for sling-mapping
+        allow   jcr:read    on /
+    end
+
     # sling-xss
     create service user sling-xss
 

Modified: sling/trunk/launchpad/builder/src/main/provisioning/sling.txt
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/builder/src/main/provisioning/sling.txt?rev=1775075&r1=1775074&r2=1775075&view=diff
==============================================================================
--- sling/trunk/launchpad/builder/src/main/provisioning/sling.txt (original)
+++ sling/trunk/launchpad/builder/src/main/provisioning/sling.txt Mon Dec 19 12:23:27 2016
@@ -161,7 +161,6 @@
       "org.apache.sling.jcr.repoinit",\
       "org.apache.sling.jcr.resource",\
       "org.apache.sling.jcr.webconsole",\
-      "org.apache.sling.resourceresolver",\
       "org.apache.sling.servlets.post",\
       "org.apache.sling.servlets.resolver",\
     ]
@@ -174,6 +173,12 @@
   org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet
       alias="/server"
 
+  org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-resourceresolver
+    user.mapping=[
+      "org.apache.sling.resourceresolver:mapping\=sling-mapping",
+      "org.apache.sling.resourceresolver:read\=sling-readall"
+    ]
+
   org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-xss
     user.mapping=[
       "org.apache.sling.xss\=sling-xss"



Mime
View raw message