jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-1141) SecureNodeBuilder.getChildNode() should not optimize for SecurityContext.canReadAll()
Date Fri, 01 Nov 2013 19:01:17 GMT

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

Mime
View raw message