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-site.git
The following commit(s) were added to refs/heads/master by this push:
new 6a2ca7d SLING-10192
6a2ca7d is described below
commit 6a2ca7d49ca401ad3619c8d4bf493013dd0b8378
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Wed Mar 24 10:25:27 2021 +0100
SLING-10192
---
.../documentation/bundles/repository-initialization.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git
a/src/main/jbake/content/documentation/bundles/repository-initialization.md
b/src/main/jbake/content/documentation/bundles/repository-initialization.md
index 3c5b3b5..007c70c 100644
--- a/src/main/jbake/content/documentation/bundles/repository-initialization.md
+++ b/src/main/jbake/content/documentation/bundles/repository-initialization.md
@@ -234,6 +234,17 @@ The language is self-explaining but please refer to the
actual test cases for de
set aStringMultiValue to "one", "two", "three"
set aLongMultiValue{Long} to 1, 2, 3
end
+
+ # Set properties on users or groups, SLING-10192
+ # 'set' overwrites any existing value while
+ # 'default' only sets the property if not set yet
+ set properties on authorizable(bob), authorizable(grpB)/nested
+ set someString{String} to /x/y/z
+ default someInteger{Long} to 42
+ set someFlag{Boolean} to true
+ default someDate{Date} to "2020-03-19T11:39:33.437+05:30"
+ set quotedMix to "quoted", non-quoted, "the last \" one"
+ end
</pre>
### Notes on the above examples