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

[sling-site] branch asf-site updated: Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/302/

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

git-site-role 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 b8786b7  Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/302/
b8786b7 is described below

commit b8786b75f0378f2b76ebbb5e7ffafedf85665e80
Author: jenkins <bu...@apache.org>
AuthorDate: Fri Oct 1 13:37:47 2021 +0000

    Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/302/
---
 documentation/bundles/repository-initialization.html | 18 ++++++++++++++++--
 sitemap.xml                                          |  4 ++--
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/documentation/bundles/repository-initialization.html b/documentation/bundles/repository-initialization.html
index 319693d..a4ebab5 100644
--- a/documentation/bundles/repository-initialization.html
+++ b/documentation/bundles/repository-initialization.html
@@ -312,7 +312,19 @@ end
 # test-20.txt
 
 # Various &quot;create path&quot; tests
+
+# Nodetypes:
+# A nodetype in brackets right after &quot;create path&quot;, like
+# sling:Folder below, sets the default type for all path
+# segments of this statement.
+# A nodetype in brackets at the end of a path segment, like
+# nt:unstructured below, applies just to that path segment.
+# If no specific nodetype is set, the repository uses its
+# default based on node type definitions.
+
 create path (sling:Folder) /var/discovery(nt:unstructured)/somefolder
+
+# more tests and examples
 create path /one/two/three
 create path /three/four(nt:folk)/five(nt:jazz)/six
 create path (nt:x) /seven/eight/nine
@@ -383,6 +395,8 @@ end
 # o.a.s.jcr.repoinit 1.1.14
 # precondition for o.a.s.jcr.repoinit: 
 # repository needs to support 'o.a.j.api.security.authorization.PrincipalAccessControlList'
+# Also, this only works for users selected by the Jackrabbit/Oak FilterProvider, see
+# https://jackrabbit.apache.org/oak/docs/security/authorization/principalbased.html#configuration
 
 set principal ACL for principal1,principal2
     remove * on /libs,/apps
@@ -410,7 +424,7 @@ set principal ACL for principal1,principal2
     allow jcr:something on / restriction(rep:glob)
 end
 
-# Principal-baesd ACL syntax with options (SLING-6423)
+# Principal-based ACL syntax with options (SLING-6423)
 set principal ACL for principal1,principal2 (ACLOptions=mergePreserve)
     remove * on /libs,/apps
     allow jcr:read on /content
@@ -692,7 +706,7 @@ delete principal ACL for adi
                             content/documentation/bundles/repository-initialization.md
                         </a>
                     </div>                    <div class="revisionInfo">
-                        Last modified by <span class="author">Bertrand Delacretaz</span> on <span class="comment">2021-08-25</span>
+                        Last modified by <span class="author">Bertrand Delacretaz</span> on <span class="comment">2021-10-01</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>
diff --git a/sitemap.xml b/sitemap.xml
index d311e2c..27aa726 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1,6 +1,8 @@
 <?xml version="1.0"?>
 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
     <url>
+        <loc>https://sling.apache.org/documentation/bundles/repository-initialization.html</loc><lastmod>2021-10-01</lastmod>
+    </url><url>
         <loc>https://sling.apache.org/releases.html</loc><lastmod>2021-09-27</lastmod>
     </url><url>
         <loc>https://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html</loc><lastmod>2021-09-24</lastmod>
@@ -9,8 +11,6 @@
     </url><url>
         <loc>https://sling.apache.org/documentation/bundles/models.html</loc><lastmod>2021-09-16</lastmod>
     </url><url>
-        <loc>https://sling.apache.org/documentation/bundles/repository-initialization.html</loc><lastmod>2021-08-25</lastmod>
-    </url><url>
         <loc>https://sling.apache.org/documentation/bundles/scripting.html</loc><lastmod>2021-08-23</lastmod>
     </url><url>
         <loc>https://sling.apache.org/documentation/the-sling-engine/servlets.html</loc><lastmod>2021-08-23</lastmod>