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

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0 M3, 2.7.2
    • 3.0 M2, 2.7.1
    • Storage
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: