You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2022/02/04 14:09:32 UTC
[sling-site] branch master updated: Updating repoinit parser test cases to latest
This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 413ca79 Updating repoinit parser test cases to latest
413ca79 is described below
commit 413ca79808f6346e008abf8e54c8844d9d5259ee
Author: Dan Klco <kl...@adobe.com>
AuthorDate: Fri Feb 4 09:08:42 2022 -0500
Updating repoinit parser test cases to latest
---
.../bundles/repository-initialization.md | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/src/main/jbake/content/documentation/bundles/repository-initialization.md b/src/main/jbake/content/documentation/bundles/repository-initialization.md
index a22f18a..79efe24 100644
--- a/src/main/jbake/content/documentation/bundles/repository-initialization.md
+++ b/src/main/jbake/content/documentation/bundles/repository-initialization.md
@@ -584,6 +584,13 @@ repoinit parser repository.
set two to endS
end
+ set properties on /forcedMultiValue
+ set singleMultiValue{String[]} to "single"
+ set emptyMultiValue{String[]} to
+ set singleLongMultiValue{Long[]} to 1243
+ set emptyLongMultiValue{Long[]} to
+ end
+
set properties on /blankLinesInList
set one to two
@@ -639,3 +646,43 @@ repoinit parser repository.
delete principal ACL for ada, amy
delete principal ACL for adi
+ # test-71.txt
+
+ # Support quoted Group IDs
+ create group "Test Group"
+ create group "Test Group With Spaces" with path /thePathF
+ delete group "Test Group"
+ set ACL on /content
+ allow jcr:read for "Test Group",user1
+ end
+ set ACL on /content
+ allow jcr:read for "Test Group- Cool People","Test Group",user1
+ end
+ set ACL for user1,"Test Group",u2
+ allow jcr:read on /content
+ end
+ set principal ACL for user1,"Test Group" (ACLOptions=mergePreserve)
+ remove * on /libs,/apps
+ allow jcr:read on /content
+ end
+ set ACL on /test (ACLOptions=merge)
+ remove * for user1,"Test Group",user2
+ end
+ set properties on authorizable(bob), authorizable("Test Group")
+ set stringProp to "hello, you again!"
+ end
+ set properties on authorizable(bob)/nested, authorizable("Test Group")/nested
+ set stringProp to "hello, you nested again!"
+ end
+ add user1,"Test Group 2000",user2 to group "Parent Group"
+ remove user1,"Test Group 2000",user2 from group "Parent Group"
+
+ # Test other escaped characters
+ create group "Tab Group"
+ create group "Untrimmed Group "
+ create group " Really Untrimmed Group "
+ create group "Group\With\Backslash"
+ create group "Group
+ Newline"
+
+