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

TreeImpl#*Location: unable retrieve child location if access to parent is denied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • core
    • None

    Description

      as a consequence of OAK-709 we now have an issue with the way
      SessionDelegate and Root#getLocation access a node in the hierarchy
      which has an ancestor which is not accessible.

      specifically RootImpl#getLocation will be served a NullLocation for the
      first ancestor which is not accessible and consequently any accessible
      child node cannot be accessed.

      in order to reproduce the issue you may:

      • change AccessControlConfigurationImpl to use PermissionProviderImpl instead
        of the tmp solution
      • and run o.a.j.oak.jcr.security.authorization.ReadTest#testReadDenied

      Attachments

        1. OAK-766-patch.txt
          9 kB
          Antonio Sanso

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: