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-starter.git


The following commit(s) were added to refs/heads/master by this push:
     new 0729e29  update to Apache Sling JCR Jackrabbit User Manager 2.2.12, 
Apache Sling JCR Jackrabbit Access Manager 3.0.8
0729e29 is described below

commit 0729e290577d27af8d268936b0267c5a429cdfe5
Author: Eric Norman <[email protected]>
AuthorDate: Mon Oct 19 12:02:09 2020 -0700

    update to Apache Sling JCR Jackrabbit User Manager 2.2.12, Apache Sling
    JCR Jackrabbit Access Manager 3.0.8
---
 src/main/features/base-repoinit.txt | 8 +++++++-
 src/main/features/base.json         | 5 +++++
 src/main/features/oak/oak_base.json | 4 ++--
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/main/features/base-repoinit.txt 
b/src/main/features/base-repoinit.txt
index 12632f2..c9b417e 100644
--- a/src/main/features/base-repoinit.txt
+++ b/src/main/features/base-repoinit.txt
@@ -65,4 +65,10 @@ create path (sling:Folder) /apps
 set principal ACL for sling-search-path-reader
     allow   jcr:read    on /libs,/apps
 end
-# SLING-5848 - Define service user and ACLs for Scripting >>>
\ No newline at end of file
+# SLING-5848 - Define service user and ACLs for Scripting >>>
+#<<< SLING-9809 - Define service user and ACLs for jcr.usermanager
+create service user sling-jcr-usermanager with path system/sling
+set ACL for sling-jcr-usermanager
+    allow 
jcr:read,jcr:readAccessControl,jcr:modifyAccessControl,rep:write,rep:userManagement
 on /home
+end
+# SLING-9809 - Define service user and ACLs for jcr.usermanager >>>
diff --git a/src/main/features/base.json b/src/main/features/base.json
index b4a24f1..7a68ae9 100644
--- a/src/main/features/base.json
+++ b/src/main/features/base.json
@@ -327,6 +327,11 @@
             "user.mapping":[
                 "org.apache.sling.xss=[sling-xss]"
             ]
+        },
+        
"org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~jcr-usermanager":{
+            "user.mapping":[
+                
"org.apache.sling.jcr.jackrabbit.usermanager=[sling-jcr-usermanager]"
+            ]
         }
     },
     "repoinit:TEXT|true":"@file"
diff --git a/src/main/features/oak/oak_base.json 
b/src/main/features/oak/oak_base.json
index 4a2d76e..5e61a7c 100644
--- a/src/main/features/oak/oak_base.json
+++ b/src/main/features/oak/oak_base.json
@@ -138,11 +138,11 @@
             "start-order":"20"
         },
         {
-            
"id":"org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager:3.0.6",
+            
"id":"org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager:3.0.8",
             "start-order":"20"
         },
         {
-            
"id":"org.apache.sling:org.apache.sling.jcr.jackrabbit.usermanager:2.2.10",
+            
"id":"org.apache.sling:org.apache.sling.jcr.jackrabbit.usermanager:2.2.12",
             "start-order":"20"
         }
     ],

Reply via email to