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

Karl Pauls updated SLING-8555:
------------------------------
    Description: 
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}

  was:
The converter is generating a broken repoinit statement when a package contains 
type indicators for restrictions on an acl e.g.:

allow jcr:read on /home/users/system/foo 
restriction(rep:ntNames,{Name}[rep:AuthorizableFolder])

it should look something like:

allow jcr:read on /home/users/system/foo 
restriction(rep:ntNames,rep:AuthorizableFolder)

It looks like the conversion is taking the XML from vault directly. That needs 
to be translated to the right format first i.e., {TYPE}[<value>] -> <value>. 


> 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: Feature Model
>            Reporter: Karl Pauls
>            Assignee: Simone Tripodi
>            Priority: Major
>             Fix For: Feature Model Converter 1.0.6
>
>
> 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
(v7.6.3#76005)

Reply via email to