[ 
https://issues.apache.org/jira/browse/SLING-9556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172334#comment-17172334
 ] 

Bertrand Delacretaz commented on SLING-9556:
--------------------------------------------

bq. Bertrand Delacretaz, Can you elaborate on dev@?

Here are links to previous discussions:

https://lists.apache.org/thread.html/e949e6328729e493ec0028642173228933ebf6d9b322da5aa0dd64d3%40%3Cdev.sling.apache.org%3E

which describes the general use case, and

https://lists.apache.org/thread.html/72475f31d9dda5128528d67f491468b081c958e9c3b93924de633c3e%40%3Cdev.sling.apache.org%3E

which suggests an API for a permissions checker service:

{code}
public void checkAllPermissions(
  ResourceResolver context, 
  String ...permissionName) 
  throws PermissionDeniedException
{code}

None of that led to creating an implementation AFAIK.

[~npeltier] I agree with Oliver's "only the admin should be able to run pipes" 
so now might be a good time to finally implement that permissions checking, 
probably in a new module?

> add pipes execution through a simple text POST
> ----------------------------------------------
>
>                 Key: SLING-9556
>                 URL: https://issues.apache.org/jira/browse/SLING-9556
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Pipes 4.0.0
>            Reporter: Nicolas Peltier
>            Assignee: Nicolas Peltier
>            Priority: Major
>             Fix For: Pipes 4.0.0
>
>
> problem with configuration of most pipes is JCR serialization is difficult to 
> read/maintain (basic XML maintenance issue).
> Since it can be executed through gogo commands, the pipe could also simply be 
> some piped command in a text file that would be posted to the plumber, using 
> same pipebuilder functionality (see 
> https://github.com/apache/sling-org-apache-sling-pipes/blob/master/src/main/java/org/apache/sling/pipes/internal/GogoCommands.java#L81)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to