You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by an...@apache.org on 2021/05/11 12:05:48 UTC

[sling-site] 01/01: SLING-10299 : Allow for removal of access control policies (update documentation)

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

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

commit db21d265842c99c88849a652499da8fd26444901
Author: angela <an...@adobe.com>
AuthorDate: Tue May 11 14:05:31 2021 +0200

    SLING-10299 : Allow for removal of access control policies (update documentation)
---
 .../bundles/repository-initialization.md            | 21 ++++++++++++++++++++-
 1 file changed, 20 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 50a5c1e..a122f6d 100644
--- a/src/main/jbake/content/documentation/bundles/repository-initialization.md
+++ b/src/main/jbake/content/documentation/bundles/repository-initialization.md
@@ -152,7 +152,26 @@ The language is self-explaining but please refer to the actual test cases for de
     set principal ACL for alice,bob
         allow jcr:namespaceManagement on :repository 
     end
-	
+
+    # Remove access control policy by path (see SLING-10299)
+    # since 
+    # o.a.s.repoinit.parser 1.6.10 and 
+    # o.a.s.jcr.repoinit 1.1.36
+    delete ACL on /content, :repository, home(alice)
+
+    # Remove access control policy by principal (see SLING-10299)
+    # Note, this will result in the removal of all path-based access control entries for the specified principal(s).
+    # since 
+    # o.a.s.repoinit.parser 1.6.10 and 
+    # o.a.s.jcr.repoinit 1.1.36
+    delete ACL for alice,bob
+
+    # Remove principal-based access control policy (see SLING-10299)
+    # since 
+    # o.a.s.repoinit.parser 1.6.10 and 
+    # o.a.s.jcr.repoinit 1.1.36
+    delete principal ACL for alice,bob
+
     # register namespace requires 
     # o.a.s.repoinit.parser 1.0.4
     # and o.a.s.jcr.repoinit 1.0.2