Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6037

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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...

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: