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

npeltier 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 d26584e  MINOR PIPES DOCS FIXES|ADDINGS (#26)
d26584e is described below

commit d26584e74c554b630ef9b86eafd4e96a214e8e77
Author: Dinesh Chaudhary <[email protected]>
AuthorDate: Fri Oct 19 13:10:30 2018 +0530

    MINOR PIPES DOCS FIXES|ADDINGS (#26)
---
 .../jbake/content/documentation/bundles/sling-pipes/writers.md | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git 
a/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md 
b/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md
index 6cb62aa..59a0a7f 100644
--- a/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md
+++ b/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md
@@ -111,8 +111,14 @@ passed as the expression
 - `allow` (boolean) to allow some privileges for configured authorizable
 - `deny` (boolean) to deny some privileges for configured authorizable
 
-following will give bar-users authorizable the right to read on 
/content/foo/bar
-
+following will give bar-users authorizable the aggregate privilege (jcr:all) 
on /content/foo/bar
         .echo("/content/foo/bar")
         .allow("bar-users")
 
+following will give bar-users authorizable the specific rights to read|write 
on /content/foo/bar
+        .echo("/content/foo/bar")
+        .allow("bar-users").with("jcr:privileges",[jcr:read,jcr:write]))
+
+and following will deny bar-users authorizable to read on /content/foo/bar
+        .echo("/content/foo/bar")
+        .deny("bar-users")
\ No newline at end of file

Reply via email to