[
https://issues.apache.org/jira/browse/SLING-8371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825169#comment-16825169
]
Simone Tripodi commented on SLING-8371:
---------------------------------------
initial implementation provided on
[8e6b909|https://github.com/apache/sling-org-apache-sling-feature-cpconverter/commit/8e6b9097328d9fe5d9c62beae0460e02a8d4269c]
> [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: Feature Model, Maven Plugins and Archetypes
> 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)