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

UserManager.findAuthorizables() does not work, if session does not have read access to /home

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: jackrabbit-core, query, security
    • Labels:
      None

      Description

      If the session does not have read access to /home, the UserManager.findAuthorizables() does not find anything.

      log shows:
      org.apache.jackrabbit.core.query.lucene.DescendantSelfAxisQuery Access denied to node id d8cbdd0f-4fe1-473f-b452-219a3eb3d867.

      Where as this query works, and returns the user homes the session has read access to:
      /jcr:root//element(*,rep:User)

        Attachments

        1. AutorizablesTest.java.patch
          7 kB
          Alex Deparvu
        2. JCR-3412.patch
          4 kB
          Alex Deparvu

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tripod Tobias Bocanegra
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: