Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3830

Allow for privilege discovery in jcr-server

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.1
    • jackrabbit-jcr-server
    • None

    Description

      in order to allow for implementing AccessControlManager.hasPrivilege and AccessControlManager.getSupportedPrivileges, the dav resources in jcr-server should allow to retrieve the following protected properties:

      • SUPPORTED_PRIVILEGE_SET : on the workspace resource and on node-resources
      • CURRENT_USER_PRIVILEGE_SET : on the workspace resource and on node-resources

      since Session#isGranted is already covered by the JcrPrivilegeReport (which would better be called JcrActionsReport), it should be save to replace the current implementation of CURRENT_USER_PRIVILEGE_SET on AbstractItemResource which in this current from doesn't make too much sense in jcr-remoting situation based on JCR 283.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: