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 2021/10/01 13:28:38 UTC
[sling-org-apache-sling-repoinit-parser] branch master updated:
SLING-8602 - point to the Jackrabbit docs for principal-based ACL
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-org-apache-sling-repoinit-parser.git
The following commit(s) were added to refs/heads/master by this push:
new 3e84baf SLING-8602 - point to the Jackrabbit docs for principal-based ACL
3e84baf is described below
commit 3e84baf53c844c8bd6b22b9b2a26fb889a23b931
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Oct 1 15:27:02 2021 +0200
SLING-8602 - point to the Jackrabbit docs for principal-based ACL
---
src/test/resources/testcases/test-33.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/test/resources/testcases/test-33.txt b/src/test/resources/testcases/test-33.txt
index 70ef92f..846d0b5 100644
--- a/src/test/resources/testcases/test-33.txt
+++ b/src/test/resources/testcases/test-33.txt
@@ -3,6 +3,8 @@
# 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
@@ -30,7 +32,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