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:40:00 UTC
[jira] [Updated] (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 ]
Andreas Schaefer updated SLING-8555:
------------------------------------
Fix Version/s: (was: Content-Package to Feature Model Converter 1.0.0)
Content-Package to Feature Model Converter 1.0.2
> 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
> Affects Versions: Content-Package to Feature Model Converter 1.0.0
> 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)