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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/11/01 20:01:17 UTC

[jira] [Updated] (OAK-1141) SecureNodeBuilder.getChildNode() should not optimize for SecurityContext.canReadAll()

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

Jukka Zitting updated OAK-1141:
-------------------------------

    Description: Since the base state and thus the security context of a builder can change, we should only use the {{canReadAll()}} optimization in cases like getChildNodeCount() where the return value is fixed in time.
       Assignee: Jukka Zitting

> SecureNodeBuilder.getChildNode() should not optimize for SecurityContext.canReadAll()
> -------------------------------------------------------------------------------------
>
>                 Key: OAK-1141
>                 URL: https://issues.apache.org/jira/browse/OAK-1141
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.10
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>
> Since the base state and thus the security context of a builder can change, we should only use the {{canReadAll()}} optimization in cases like getChildNodeCount() where the return value is fixed in time.



--
This message was sent by Atlassian JIRA
(v6.1#6144)