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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.20.0
    • Component/s: authorization-cug
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: