You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/01/25 13:06:10 UTC

[sling-site] branch asf-site updated: Add repoinit 'with path' example

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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 8e375f1  Add repoinit 'with path' example
8e375f1 is described below

commit 8e375f1d41492a8793c970b67b2fbd7007879c35
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jan 25 14:05:59 2018 +0100

    Add repoinit 'with path' example
---
 documentation/bundles/repository-initialization.html | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/documentation/bundles/repository-initialization.html b/documentation/bundles/repository-initialization.html
index 00fffa0..064b0aa 100644
--- a/documentation/bundles/repository-initialization.html
+++ b/documentation/bundles/repository-initialization.html
@@ -107,6 +107,12 @@ end
 
 create service user bob_the_service
 
+# &#39;with path&#39; requires
+#  o.a.s.repoinit.parser 1.2.2
+#  o.a.s.jcr.repoinit 1.1.8
+create service user zoo_the_keeper with path relative/zoo
+create service user zoo_the_keeper with path /absolute/zoo
+
 set ACL on /tmp
     allow some:otherPrivilege for bob_the_service
 end
@@ -117,7 +123,7 @@ create path /content/example.com(sling:Folder)
 # Nodetypes and mixins applied to just a path element
 # Specifying mixins require
 # o.a.s.repoinit.parser 1.2.0 and
-# o.a.s.jcr.repoinit 1.2.0
+# o.a.s.jcr.repoinit 1.1.6
 create path /content/example.com(sling:Folder mixin mix:referenceable,mix:shareable)
 
 # Mixins applied to just a path element
@@ -221,7 +227,7 @@ create service user provisioningModelUser
   <li>A multi-value <code>scripts</code> field with each value providing repoinit statements as plain text in a String.</li>
 </ul></section></div></div>            
             <div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <span class="comment">Wed Jan 24 14:52:01 2018 +0100</span></div>                <p>
+<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <span class="comment">Thu Jan 25 14:02:06 2018 +0100</span></div>                <p>
                     Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
                 </p><p>
                     Copyright © 2011-2017 The Apache Software Foundation.

-- 
To stop receiving notification emails like this one, please contact
bdelacretaz@apache.org.