You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2019/07/02 15:16:01 UTC

[jira] [Updated] (SLING-8371) [cp2fm] map rep:ACL JCR nodes to repoinit Feature extension

     [ https://issues.apache.org/jira/browse/SLING-8371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls updated SLING-8371:
------------------------------
    Component/s:     (was: Maven Plugins and Archetypes)
                     (was: Feature Model)
                 Content-Package to Feature Model Converter

> [cp2fm] map rep:ACL JCR nodes to repoinit Feature extension
> -----------------------------------------------------------
>
>                 Key: SLING-8371
>                 URL: https://issues.apache.org/jira/browse/SLING-8371
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content-Package to Feature Model Converter
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>            Priority: Major
>
> As per summary, a JCR {{rep:ACL}} node, such as
> {noformat}
> <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
>           jcr:primaryType="rep:ACL">
>     <allow0
>             jcr:primaryType="rep:GrantACE"
>             rep:principalName="acs-commons-ensure-oak-index-service"
>             rep:privileges="{Name}[jcr:read,rep:write,rep:indexDefinitionManagement]">
>         <rep:restrictions
>                 jcr:primaryType="rep:Restrictions"
>                 rep:glob="*/oak:index/*"/>
>     </allow0>
> </jcr:root>
> {noformat}
> has to be mapped to the {{repoinit}} Feature Model extension:
> {noformat}
> "repoinit:TEXT|true":[
>   "set ACL for acs-commons-ensure-oak-index-service",
>   "allow jcr:read,rep:write,rep:indexDefinitionManagement on /asd/public restriction(*/oak:index/*)",
>   "end"
> ]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)