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

PermissionValidator may throw AccessDenied if testing for NO_PERMISSION

    XMLWordPrintableJSON

Details

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

    Description

      the attached test shows a scenario where the permission validator will throw accessdeniedexception when testing for NO_PERMISSION.

      there is a trivial, no-risk fix for this which is also better performance wise (as it simply omits the evaluation -> attached) although IMO this should also be fixed in the permission evaluation in the long run.

      Attachments

        1. OAK-1720.patch
          6 kB
          Angela Schreiber

        Activity

          People

            tripod Tobias Bocanegra
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: