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

PrivilegeManager#getPrivilege throws RepositoryException rather than AccessControlException

    XMLWordPrintableJSON

Details

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

    Description

      PrivilegeManager#getPrivilege throws RepositoryException rather than AccessControlException.

      Throwing AccessControlException would be better since it is compatible with JR.

      Test and patch to follow

      Attachments

        1. OAK-1073-patch.txt
          0.8 kB
          Antonio Sanso
        2. OAK-1073-test-patch.txt
          1 kB
          Antonio Sanso

        Activity

          People

            angela Angela Schreiber
            asanso Antonio Sanso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: