You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Schaefer (Jira)" <ji...@apache.org> on 2019/12/16 22:38:00 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 ]
Andreas Schaefer updated SLING-8371:
------------------------------------
Fix Version/s: (was: Content-Package to Feature Model Converter 1.0.0)
Content-Package to Feature Model Converter 1.0.2
> [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
> Affects Versions: Content-Package to Feature Model Converter 1.0.0
> Reporter: Simone Tripodi
> Assignee: Simone Tripodi
> Priority: Major
> Fix For: Content-Package to Feature Model Converter 1.0.2
>
>
> 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
(v8.3.4#803005)