sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] npeltier commented on a change in pull request #6: SLING-7793 ACLs pipes
Date Mon, 10 Sep 2018 14:50:12 GMT
npeltier commented on a change in pull request #6: SLING-7793 ACLs pipes
URL: https://github.com/apache/sling-org-apache-sling-pipes/pull/6#discussion_r216351430
 
 

 ##########
 File path: src/main/java/org/apache/sling/pipes/PipeBuilder.java
 ##########
 @@ -252,6 +253,36 @@
             description = "read multi property, and output each value in the bindings")
     PipeBuilder mp();
 
+    /**
+     * attach an ACL pipe to the current context
+     * @param conf configuration parameters
+     * @return updated instance of PipeBuilder
+     * @throws IllegalAccessException in case it's called with bad configuration
+     */
+    @PipeExecutor(command = "acls", resourceType = ACLPipe.RESOURCE_TYPE, pipeClass = ACLPipe.class,
+            description = "output each acls on the resource or  acls for authorizable in
repository in bindings")
+    PipeBuilder acls(Object... conf) throws IllegalAccessException;
+
+    /**
+     * attach an ACL pipe to the current context and sets allow acls on the resource
+     * @param conf configuration parameters
+     * @return updated instance of PipeBuilder
+     * @throws IllegalAccessException in case it's called with bad configuration
+     */
+    @PipeExecutor(command = "allow", resourceType = ACLPipe.RESOURCE_TYPE, pipeClass = ACLPipe.class,
+            description = "sets allow acls on the resource")
+    PipeBuilder allow(String expr) throws IllegalAccessException;
+
+    /**
+     * attach an ACL pipe to the current context and sets deny acls on the resource
+     * @param conf configuration parameters
 
 Review comment:
   please remove absent parameter from javadoc here 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message