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

CugAccessControlManager.getEffectivePolicies(String) throws PathNotFoundException if parent node is not accessible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0
    • authorization-cug
    • None

    Description

      while working on OAK-7937 i noticed that CugAccessControlManager.getEffectivePolicies(String absPath) will fail with PathNotFoundException if any of the ancestor nodes is not accessible. Instead it should only verify that the target node exists. In contrast non-accessible ancestors will just be excluded from the evaluation of effective policies as it is the case when the attached ac-content is not readable.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: