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

Julian Reschke updated OAK-4234:
--------------------------------
    Summary: NodeDelegate: checking for locks should not require read access to 
system lock properties  (was: NodeDelegate: checking for locks should not 
require read acccess to system lock properties)

> NodeDelegate: checking for locks should not require read access to system 
> lock properties
> -----------------------------------------------------------------------------------------
>
>                 Key: OAK-4234
>                 URL: https://issues.apache.org/jira/browse/OAK-4234
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: jcr
>            Reporter: Julian Reschke
>            Priority: Minor
>             Fix For: 1.6
>
>
> {{isLocked()}} currently will return false when the caller does not have read 
> access to the lock properties of the node.
> For shallow nodes this might be harmless, but for deep locks it's not (so in 
> that case, the information is only accurate when the caller has read access 
> to all ancestor's system properties).
> Furthermore. checking for locks might be done frequently, and could be faster 
> when unnecessary checks would be skipped.



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

Reply via email to