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

UserUtil.getAuthorizableRootPath when user/group path are equal or nested

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • core
    • None

    Description

      while working on OAK-5882 i found that UserUtil.getAuthorizableRootPath doesn't not properly handle the case where

      • user path equals group path
      • either is ancestor of the other.

      this can be easily fixed by replace isDecendant by isDecendantOrEqual.

      alex.parvulescu, fyi

      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: