You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Deparvu (JIRA)" <ji...@apache.org> on 2018/06/06 10:00:00 UTC

[jira] [Commented] (OAK-7530) PrivilegeInitializer should not attempt to create jcr:system node

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

Alex Deparvu commented on OAK-7530:
-----------------------------------

the plan is to turn the {{.child()}} call into a {{getChildNode}} call and remove the primary type change. [~anchela], toughts?

> PrivilegeInitializer should not attempt to create jcr:system node
> -----------------------------------------------------------------
>
>                 Key: OAK-7530
>                 URL: https://issues.apache.org/jira/browse/OAK-7530
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, security
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Minor
>
> {{PrivilegeInitializer}} class should not create jcr:system node if it doesn't exist as this would disrupt the {{InitialContent}}'s work of creating the needed structure under this node [1]
> [0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeInitializer.java#L57
> [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/InitialContent.java#L78



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)