Simone Tripodi created SLING-8371:
-------------------------------------
Summary: [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
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)