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

AbstractRepositoryTest: missing proper permission setup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10
    • jcr
    • None

    Description

      there are some usages of AbstractRepositoryTest#createAnonymousSession
      that expect the created session to have read/write permission on the
      repository.

      as soon as we switch to a reasonable default-setup this will not work
      any more.

      possible solutions:
      a) create proper permission setup of anonymous as required in the tests
      b) fix tests to use a user with sufficient permission

      for the time being i will change #createAnonymousSession to just return
      an admin session as this blocks me.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: