Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1962 Fix and Improve Locking
  3. OAK-4234

NodeDelegate: checking for locks should not require read access to system lock properties

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • jcr
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: