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 ebb53ae  Automatic website deployment
ebb53ae is described below

commit ebb53ae170bdc469366597f82d255d5dce34a503
Author: jenkins <[email protected]>
AuthorDate: Thu Dec 20 19:47:49 2018 +0000

    Automatic website deployment
---
 .../bundles/content-loading-jcr-contentloader.html | 31 +++++++-
 ...aging-permissions-jackrabbit-accessmanager.html | 84 +++++++++++++++++++---
 downloads.html                                     | 12 ++--
 releases.html                                      |  3 +-
 4 files changed, 114 insertions(+), 16 deletions(-)

diff --git a/documentation/bundles/content-loading-jcr-contentloader.html 
b/documentation/bundles/content-loading-jcr-contentloader.html
index a27bdcd..72c575e 100644
--- a/documentation/bundles/content-loading-jcr-contentloader.html
+++ b/documentation/bundles/content-loading-jcr-contentloader.html
@@ -411,10 +411,39 @@ Support for re-registration of node types is relatively 
limited. In Jackrabbit,
         { &quot;name&quot;: &quot;TestGroup1&quot;, &quot;isgroup&quot;: 
&quot;true&quot;, &quot;members&quot;: [&quot;TestUser1&quot;], 
&quot;extraProp1&quot;: &quot;extraProp1Value&quot; }
     ]
 }
+</code></pre>
+<h3><a href="#ace-restrictions-since-2-3-0-" 
name="ace-restrictions-since-2-3-0-">ACE Restrictions (since 2.3.0)</a></h3>
+<p>When adding a <code>security:acl</code> object to a content node definition 
in JSON you can also define restrictions on the ACEs to further filter the 
impact. Example:</p>
+<pre><code>{
+    &quot;security:acl&quot;: [
+        { 
+            &quot;principal&quot;: &quot;TestUser1&quot;, 
+            &quot;granted&quot;: [
+                &quot;jcr:read&quot;,
+                &quot;jcr:write&quot;
+            ],
+            &quot;restrictions&quot;: {
+                &quot;rep:glob&quot;: &quot;glob1&quot;
+            }
+        },
+        { 
+            &quot;principal&quot;: &quot;TestGroup1&quot;, 
+            &quot;granted&quot;: [
+                &quot;jcr:modifyAccessControl&quot;
+            ],
+            &quot;restrictions&quot;: {
+                &quot;rep:itemNames&quot;: [
+                    &quot;name1&quot;,
+                    &quot;name2&quot;
+                ]
+            }
+        }
+    ]
+}
 </code></pre></section></div></div>            
             <div class="footer">
 <div class="revisionInfo">
-                    Last modified by <span class="author">Andres Bott</span> 
on <span class="comment">Sun Dec 10 14:48:06 2017 +0100</span>
+                    Last modified by <span class="author">Eric Norman</span> 
on <span class="comment">Thu Dec 20 11:13:55 2018 -0800</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/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html 
b/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
index f9eab41..052c964 100644
--- a/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
+++ b/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
@@ -72,14 +72,14 @@
             </div><h1 class="pagetitle">
                 Managing permissions (jackrabbit.accessmanager)
             </h1><div id="generatedToC"></div><script 
src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script 
src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script 
type='text/javascript'>$(document).ready(function() { 
$('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script>
-<div class="row"><div class="small-12 columns"><section class="wrap"><p>The 
<code>jackrabbit-accessmanager</code> bundle delivers a REST interface to 
manipulate users permissions in the JCR. After installing the 
<code>jackrabbit-accessmanager</code> bundle the REST services are exposed 
under the path of the node where you will manipulate the permissions for a user 
with a specific selector like <code>modifyAce</code>, <code>acl</code> and 
<code>deleteAce</code>. <!-- TODO reactivate TOC o [...]
+<div class="row"><div class="small-12 columns"><section class="wrap"><p>The 
<code>jackrabbit-accessmanager</code> bundle delivers a REST interface to 
manipulate users permissions in the JCR. After installing the 
<code>jackrabbit-accessmanager</code> bundle the REST services are exposed 
under the path of the node where you will manipulate the permissions for a user 
with a specific selector like <code>modifyAce</code>, <code>acl</code>, 
<code>eacl</code> and <code>deleteAce</code>. <!-- TO [...]
 </p>
 <h2><a href="#privileges" name="privileges">Privileges</a></h2>
 <table>
   <thead>
     <tr>
-      <th>privilagename </th>
-      <th>description </th>
+      <th>Name </th>
+      <th>Description </th>
     </tr>
   </thead>
   <tbody>
@@ -143,12 +143,80 @@
 </table>
 <h2><a href="#add-or-modify-permissions" name="add-or-modify-permissions">Add 
or modify permissions</a></h2>
 <p>To modify the permissions for a node POST a request to 
<code>/&lt;path-to-the-node&gt;.modifyAce.&lt;html or json&gt;</code>. The 
following parameters are available:</p>
-<ul>
-  <li><em>numeric</em> - Place the target ACE at the specified numeric index. 
|</li>
-</ul>
-<p>Responses: | 200 | Success | | 500 | Failure, HTML (or JSON) explains 
failure. | Example with curl:</p>
+<table>
+  <thead>
+    <tr>
+      <th>Name </th>
+      <th>Description </th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td>principalId </td>
+      <td>The id of the user or group to modify the access rights for </td>
+    </tr>
+    <tr>
+      <td>order </td>
+      <td>The position of the entry within the list (see below for details) 
</td>
+    </tr>
+    <tr>
+      <td>privilege@[privilege_name] </td>
+      <td>One param for each privilege to modify. The value must be either 
'granted', 'denied' or 'none'. </td>
+    </tr>
+    <tr>
+      <td>restriction@[restriction_name] </td>
+      <td>(since 3.0.4) One param for each restriction value. The same 
parameter name may be used again for multi-value restrictions. The value is the 
target value of the restriction. </td>
+    </tr>
+    <tr>
+      <td>restriction@[restriction_name]@Delete </td>
+      <td>(since 3.0.4) One param for each restriction to delete. The 
parameter value is ignored and can be anything. </td>
+    </tr>
+  </tbody>
+</table>
+<p>The <code>order</code> parameter may have the following values:</p>
+<table>
+  <thead>
+    <tr>
+      <th>Value </th>
+      <th>Description </th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td><code>first</code> </td>
+      <td>Place the target entry as the first amongst its siblings </td>
+    </tr>
+    <tr>
+      <td><code>last</code> </td>
+      <td>Place the target entry as the last amongst its siblings </td>
+    </tr>
+    <tr>
+      <td><code>before *xyz*</code> </td>
+      <td>Place the target entry immediately before the sibling whose name is 
<em>xyz</em> </td>
+    </tr>
+    <tr>
+      <td><code>after *xyz*</code> </td>
+      <td>Place the target entry immediately after the sibling whose name is 
<em>xyz</em> </td>
+    </tr>
+    <tr>
+      <td>numeric </td>
+      <td>Place the target entry at the indicated numeric place amongst its 
siblings where <em>0</em> is equivalent to <code>first</code> and <em>1</em> 
means the second place </td>
+    </tr>
+  </tbody>
+</table>
+<p>Responses: | 200 | Success | | 500 | Failure, HTML (or JSON) explains 
failure. |</p>
+<p>Example with curl:</p>
 <pre><code>curl -FprincipalId=myuser -Fprivilege@jcr:read=granted 
http://localhost:8080/test/node.modifyAce.html
 </code></pre>
+<p>Single value restriction example with curl:</p>
+<pre><code>curl -FprincipalId=myuser -Fprivilege@jcr:read=granted 
-Frestriction@rep:glob=child1 http://localhost:8080/test/node.modifyAce.html
+</code></pre>
+<p>Multi value restriction example with curl:</p>
+<pre><code>curl -FprincipalId=myuser -Fprivilege@jcr:read=granted 
-Frestriction@rep:itemNames=name1 -Frestriction@rep:itemNames=name2 
http://localhost:8080/test/node.modifyAce.html
+</code></pre>
+<p>Remove existing restriction example with curl:</p>
+<pre><code>curl -FprincipalId=myuser -Frestriction@rep:glob@Delete=yes 
http://localhost:8080/test/node.modifyAce.html
+</code></pre>
 <h2><a href="#delete-permissions" name="delete-permissions">Delete 
permissions</a></h2>
 <p>To delete permissions for a node POST a request to 
<code>/&lt;path-to-the-node&gt;.deleteAce.&lt;html or json&gt;</code>. The 
following parameters are available:</p>
 <p>Responses: | 200 | Success | | 500 | Failure, HTML (or JSON) explains 
failure. | Example with curl:</p>
@@ -170,7 +238,7 @@ See section 16.3 of the JCR 2.0 specification for an 
explanation of the differen
 </div></section></div></div>            
             <div class="footer">
 <div class="revisionInfo">
-                    Last modified by <span class="author">Konrad 
Windszus</span> on <span class="comment">Fri Jul 13 11:08:10 2018 +0200</span>
+                    Last modified by <span class="author">Eric Norman</span> 
on <span class="comment">Thu Dec 20 11:13:55 2018 -0800</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/downloads.html b/downloads.html
index 34d2b0a..d932b7c 100644
--- a/downloads.html
+++ b/downloads.html
@@ -382,18 +382,18 @@
                                     </td></tr><tr><td>JCR 
ClassLoader</td><td>3.2.4</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-classloader";>GitHub</a>
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.classloader-3.2.4.jar">Bundle</a> 
(<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.classloader-3.2.4.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.classloader-3.2.4.jar.sha1";>sha1</a>)
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.classloader-3.2.4-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.classloader-3.2.4-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.classloader-3.2.4-source-release.zip.sha1";>sha1</a>)
-                                    </td></tr><tr><td>JCR Content 
Loader</td><td>2.2.6</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-contentloader";>GitHub</a>
-                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.contentloader-2.2.6.jar">Bundle</a> 
(<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.2.6.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.2.6.jar.sha1";>sha1</a>)
-                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.contentloader-2.2.6-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.2.6-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.2.6-source-release.zip.sha1";>sha1</a>)
+                                    </td></tr><tr><td>JCR Content 
Loader</td><td>2.3.0</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-contentloader";>GitHub</a>
+                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.contentloader-2.3.0.jar">Bundle</a> 
(<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.3.0.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.3.0.jar.sha1";>sha1</a>)
+                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.contentloader-2.3.0-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.3.0-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentloader-2.3.0-source-release.zip.sha1";>sha1</a>)
                                     </td></tr><tr><td>JCR Content 
Parser</td><td>1.2.6</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-contentparser";>GitHub</a>
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.contentparser-1.2.6.jar">Bundle</a> 
(<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentparser-1.2.6.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentparser-1.2.6.jar.sha1";>sha1</a>)
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.contentparser-1.2.6-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentparser-1.2.6-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.contentparser-1.2.6-source-release.zip.sha1";>sha1</a>)
                                     </td></tr><tr><td>JCR 
DavEx</td><td>1.3.10</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-davex";>GitHub</a>
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.davex-1.3.10.jar">Bundle</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.davex-1.3.10.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.davex-1.3.10.jar.sha1";>sha1</a>)
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.davex-1.3.10-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.davex-1.3.10-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.davex-1.3.10-source-release.zip.sha1";>sha1</a>)
-                                    </td></tr><tr><td>JCR Jackrabbit 
AccessManager</td><td>3.0.2</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager";>GitHub</a>
-                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.2.jar">Bundle</a>
 (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.2.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.2.jar.sha1";>sha1</a>)
-                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.2-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.2-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.2-source-release.zip.sha1";>sha1</a>)
+                                    </td></tr><tr><td>JCR Jackrabbit 
AccessManager</td><td>3.0.4</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager";>GitHub</a>
+                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.4.jar">Bundle</a>
 (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.4.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.4.jar.sha1";>sha1</a>)
+                                    </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.4-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.4-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.accessmanager-3.0.4-source-release.zip.sha1";>sha1</a>)
                                     </td></tr><tr><td>JCR Jackrabbit 
UserManager</td><td>2.2.8</td><td><a 
href="https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager";>GitHub</a>
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.jackrabbit.usermanager-2.2.8.jar">Bundle</a>
 (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.usermanager-2.2.8.jar.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.usermanager-2.2.8.jar.sha1";>sha1</a>)
                                     </td><td><a 
href="[preferred]sling/org.apache.sling.jcr.jackrabbit.usermanager-2.2.8-source-release.zip">Source
 ZIP</a> (<a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.usermanager-2.2.8-source-release.zip.asc";>asc</a>,
 <a 
href="https://www.apache.org/dist/sling/org.apache.sling.jcr.jackrabbit.usermanager-2.2.8-source-release.zip.sha1";>sha1</a>)
diff --git a/releases.html b/releases.html
index 6f4a745..6e8e53a 100644
--- a/releases.html
+++ b/releases.html
@@ -70,6 +70,7 @@
             </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>This is a list of all our releases, available from our <a 
href="/downloads.cgi">downloads</a> page.</p>
 <h2><a href="#december-2018" name="december-2018">December 2018</a></h2>
 <ul>
+  <li>JCR Jackrabbit Access Manager 3.0.4, JCR ContentLoader 2.3.0 (20th)</li>
   <li>API 2.20.0, Servlets Resolver 2.5.2, Servlets Annotations 1.2.4 
(18th)</li>
   <li>Capabilities 0.1.2, Capabilities JCR 0.1.2 (17th)</li>
   <li>JCR Base 3.0.6 (16th)</li>
@@ -1845,7 +1846,7 @@
 </ul></section></div></div>
             <div class="footer">
 <div class="revisionInfo">
-                    Last modified by <span class="author">Radu Cotescu</span> 
on <span class="comment">Thu Dec 13 14:17:01 2018 +0100</span>
+                    Last modified by <span class="author">Eric Norman</span> 
on <span class="comment">Thu Dec 20 11:13:55 2018 -0800</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>

Reply via email to