Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1083

Query with descendent node and access control fails to return result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.11
    • core, security

    Description

      The scenario is bit complex. Running a query with following condition does not give any result

      • Node path is like /home/users/geometrixx-outdoors/emily.andrews@mailinator.com/social/relationships/following/aaron.mcdonald@mailinator.com
      • It has a Glob jcr:read for everyone at */social/relationships/following/*
      • The query is like

        /jcr:root/home//social/relationships/following//*[id='aaron.mcdonald@mailinator.com']

      • The query is executed with anonymous session

      On JR2 it returns expected result while on Oak it does not give any result

      Attachments

        1. OAK-1083-testcase.patch
          4 kB
          Chetan Mehrotra

        Activity

          People

            thomasm Thomas Mueller
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: