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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5fb3e6e  Add SLING-8757 home(...) syntax
5fb3e6e is described below

commit 5fb3e6e886156122fe1f352e63a369d2a633b9e4
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Feb 20 12:57:34 2020 +0100

    Add SLING-8757 home(...) syntax
---
 .../documentation/bundles/repository-initialization.md        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/src/main/jbake/content/documentation/bundles/repository-initialization.md 
b/src/main/jbake/content/documentation/bundles/repository-initialization.md
index d734489..6d6e70f 100644
--- a/src/main/jbake/content/documentation/bundles/repository-initialization.md
+++ b/src/main/jbake/content/documentation/bundles/repository-initialization.md
@@ -185,8 +185,17 @@ The language is self-explaining but please refer to the 
actual test cases for de
     create group since124_A
     create group since124_B with path /path_B
     delete group since124_C
+    
+    # ACLs on user homes, requires
+    # o.a.s.repoinit.parser 1.4.2
+    # o.a.s.jcr.repoinit 1.1.18
+    set ACL on home(alice)
+      allow jcr:read for alice, bob, carol
+    end
 
-
+    set ACL for bob
+      allow jcr:read on home(alice), /another/path, home(larry)
+    end
 </pre>
 
 ## Providing repoinit statements from the Sling provisioning model or other 
URLs

Reply via email to