[
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)