[ 
https://issues.apache.org/jira/browse/JCRVLT-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14195798#comment-14195798
 ] 

Marius Petria commented on JCRVLT-64:
-------------------------------------

[~tripod], the fix introduces a different behavior than in the case of regular 
content: a node cannot be installed if one of the ancestors (the user node) is 
not included in the filter. While this might be correct as the default behavior 
for users as it is more secure it is also less robust (a perfectly valid 
package is not installed). I have created JCRVLT-71 to analyze the opportunity 
of an option that will allow the autocreation of users.

> Nodes that have a user parent are not installed if they are in the same 
> .content.xml as their parent
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-64
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-64
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: Marius Petria
>            Assignee: Tobias Bocanegra
>             Fix For: 3.1.10
>
>         Attachments: newuser.zip, profile.zip
>
>
> An artifact for an user node that also contains another child node is not 
> installed correctly. Only the user is installed and not the profile.
> {code}
> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"; 
> xmlns:jcr="http://www.jcp.org/jcr/1.0"; 
> xmlns:nt="http://www.jcp.org/jcr/nt/1.0"; xmlns:rep="internal"
>     jcr:mixinTypes="[rep:AccessControllable]"
>     jcr:primaryType="rep:User"
>     jcr:uuid="0354d89c-28ec-399c-80d3-cb2d094cf093"
>     rep:authorizableId="newuser"
>     
> rep:password="\{SHA-256}8628e1f645c2073a-1000-9db3a1f8cddca62bbde8aae52832378c061498598ef833aaa209c1c836704db0"
>     rep:principalName="newuser">
>     <profile
>         jcr:primaryType="nt:unstructured"
>         sling:resourceType="cq/security/components/profile"
>         givenName="MM">
>         <photos/>
>     </profile>
> </jcr:root>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to