Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-527 Implement Permission evaluation
  3. OAK-707

Review interaction between AccessControlManager and PermissionManager

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.7
    • core, jcr
    • None

    Description

      the following methods on the access control manager interface require
      interaction with the permission evaluation:

      #hasPrivileges(String, Privilege[])
      #getPrivileges(String)
      #hasPrivileges(String, Set<Principal>, Privilege[])
      #getPrivileges(String, Set<Principal>)

      right now those methods are not supported if there was no permission provider
      passed to the acmgr constructor, which obviously is far from being optimal.

      in general i see the need for closer interaction between oak-api and the
      permission evaluation... (see also the related TODO with Root#getCommitSubject)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment