XWiki Platform
  1. XWiki Platform
  2. XWIKI-6037

XWikiHiberbateStore#searchDocument methods does not work properly with checkright in multiwiki

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 M2, 2.7.1
    • Fix Version/s: 3.0 M3, 2.7.2
    • Component/s: Storage
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The methods search for documents names and then resolve the XWikiDocument but before that it check for current user right on each documentt to resolve. The problem is that all this is done in the same hibernate session which makes impossible for checkRight to switch database to check wiki owner, PR right etc...

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Thomas Mortagne
              Reporter:
              Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: