You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/02/13 08:47:03 UTC

[jira] [Closed] (SLING-8555) Converter generates broken repoinit statements when package contains type indicators for restriction

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

Carsten Ziegeler closed SLING-8555.
-----------------------------------

> Converter generates broken repoinit statements when package contains type indicators for restriction
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-8555
>                 URL: https://issues.apache.org/jira/browse/SLING-8555
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>            Reporter: Karl Pauls
>            Assignee: Simone Tripodi
>            Priority: Major
>             Fix For: Content-Package to Feature Model Converter 1.0.2
>
>
> The converter is generating a broken repoinit statement when a package contains type indicators for restrictions on an acl e.g.:
> {noformat}
> allow jcr:read on /home/users/system/foo restriction(rep:ntNames,{Name}[rep:AuthorizableFolder])
> {noformat}
> it should look something like:
> {noformat}
> allow jcr:read on /home/users/system/foo restriction(rep:ntNames,rep:AuthorizableFolder)
> {noformat}
> It looks like the conversion is taking the XML from vault directly. That needs to be translated to the right format first i.e., {noformat} {TYPE}[<value>] -> <value> {noformat}



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