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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/04/19 12:30:25 UTC

[jira] [Created] (OAK-4234) NodeDelegate: checking for locks should not require read acccess to system lock properties

Julian Reschke created OAK-4234:
-----------------------------------

             Summary: NodeDelegate: checking for locks should not require read acccess 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


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