This is an automated email from the ASF dual-hosted git repository.

enorman pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-maintenance.git


The following commit(s) were added to refs/heads/master by this push:
     new 899c8bd  SLING-10263 create the sling-versionmgr system user with path 
system/sling (#1)
899c8bd is described below

commit 899c8bd04f0996cc8aa929dc0b4d6bc4febbf796
Author: Eric Norman <[email protected]>
AuthorDate: Tue Mar 30 08:56:22 2021 -0700

    SLING-10263 create the sling-versionmgr system user with path system/sling 
(#1)
    
    * create the sling-versionmgr system user with path
    system/sling
    
    * use pre-authentication for system users
---
 src/main/features/base.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/features/base.json b/src/main/features/base.json
index e4830f1..254ff79 100644
--- a/src/main/features/base.json
+++ b/src/main/features/base.json
@@ -8,13 +8,13 @@
     "configurations":{
         
"org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~sling-versionmgr":{
             "user.mapping":[
-                
"org.apache.sling.jcr.maintenance:sling-versionmgr=sling-versionmgr"
+                
"org.apache.sling.jcr.maintenance:sling-versionmgr=[sling-versionmgr]"
             ]
         }
     },
     "repoinit:TEXT|true": [
-        "create service user sling-versionmgr",
-        "set ACL for sling-versionmgr",
+        "create service user sling-versionmgr with path system/sling",
+        "set principal ACL for sling-versionmgr",
         "allow   jcr:write,jcr:nodeTypeManagement,jcr:versionManagement    on 
/",
         "allow   jcr:read    on /jcr:system/jcr:versionStorage",
         "end"

Reply via email to