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 "angela (JIRA)" <ji...@apache.org> on 2015/04/10 12:08:12 UTC

[jira] [Resolved] (OAK-2740) TreeTypeProvider treates optimized node type definition info as Ac-Content

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

angela resolved OAK-2740.
-------------------------
    Resolution: Fixed

> TreeTypeProvider treates optimized node type definition info as Ac-Content
> --------------------------------------------------------------------------
>
>                 Key: OAK-2740
>                 URL: https://issues.apache.org/jira/browse/OAK-2740
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>            Assignee: angela
>            Priority: Blocker
>             Fix For: 1.0.13, 1.3.0, 1.2.1
>
>         Attachments: OAK-2740.patch, OAK-2740_importTests.patch, OAK-2740_test.patch
>
>
> while investigating a bug reported by [~teofili] and [~mpetria] that cause group-import with policy node to fail when run with non-administrative session, i found that the {{TreeTypeProvider}} wrongly identifies the optimized item definition information stored with the node types (e.g. {{/jcr:system/jcr:nodeTypes/rep:AccessControllable/rep:namedChildNodeDefinitions/rep:policy}} ) as access control content and thus doesn't read it properly when using a session that doesn't have jcr:readAccessControl privilege at /jcr:system/jcr:nodeTypes.
> the effect of this bug is as follows:
> the internal calculation of the effective node type and thus item definitions will not work properly for {{rep:policy}} nodes (and similar) as the editing session cannot read the full (oak internal) node type definition as stored below {{/jcr:system/jcr:nodeTypes}}.



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