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 7c72919 Automatic website deployment from
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/128/
7c72919 is described below
commit 7c729195ca59e63b6eb6214fa4023aae768f3ac3
Author: jenkins <[email protected]>
AuthorDate: Wed Mar 24 09:28:49 2021 +0000
Automatic website deployment from
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/128/
---
documentation/bundles/repository-initialization.html | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/documentation/bundles/repository-initialization.html
b/documentation/bundles/repository-initialization.html
index daa1712..9a06ea9 100644
--- a/documentation/bundles/repository-initialization.html
+++ b/documentation/bundles/repository-initialization.html
@@ -331,6 +331,17 @@ set properties on /pathA, /path/B
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
</code></pre>
</pre>
<h3><a href="#notes-on-the-above-examples"
id="notes-on-the-above-examples">Notes on the above examples</a></h3>
@@ -390,7 +401,7 @@ end
</div><footer class="footer">
<div class="content has-text-centered is-small">
<div class="revisionInfo">
- Last modified by <span class="author">Bertrand
Delacretaz</span> on <span class="comment">Thu Feb 18 11:43:19 2021 +0100</span>
+ Last modified by <span class="author">Bertrand
Delacretaz</span> on <span class="comment">Wed Mar 24 10:25:27 2021 +0100</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>