Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-2263

Support AccessControlManager in MockSession

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.0.0
    • None
    • None

    Description

      Since the access control mngr is accessed more, also unit tests mocking jcr sessions hit this more frequently

      Also make the MockSession constructors public. Now we see code like

      session = new MockSession(rootNode, queryManager){
      @Override
      public String getUserID()

      { return "user-id"; }

      };

      to get a mock session without mocking a jcr node

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: