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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • jackrabbit-core, query, security
    • 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

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

            Dates

              Created:
              Updated: