Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1599

LuceneQueryBuilder assumes readability of root-Node to be granted in any case.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core 1.4.2, core 1.4.3, core 1.4.4
    • core 1.4.5
    • indexing
    • None

    Description

      Have a User U.
      Have the User U denied to read "/".
      Have the User U allowed to read "/home/u".

      Any query of User U on this workspace fails with an AccessDeniedException.

      The exception is caused by a call insided LuceneQueryBuilder on ln212:
      NodeId id = ((NodeImpl) session.getRootNode()).getNodeId();

      I couldn't find a specification that imposes the readability of root-node as a precondtion for query.
      Therefore I consider this behavior as a bug.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrisk christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: