Uploaded image for project: '{RETIRED} XWiki Lucene Plugin'
  1. {RETIRED} XWiki Lucene Plugin
  2. XPLUCENE-44

Sometimes results from a local wiki are discarded in a global search

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.13
    • 1.8
    • Plugin
    • None

    Description

      When computing the results, items are filtered according to the access right of the current user on that document, so that unaccessible documents are not listed among the search results. However, this fails in a certain situation: searching from the global wiki, logged in with a global account without administrator rights, and filtering results in a local wiki, which has an explicit "allow" rights setting for all local and global users.

      The problem is that when performing the rights check, the plugin changes the context wiki, but without updating the username to include the "xwiki:" prefix, thus the rights are checked for a non-existing user in the local wiki.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              sdumitriu Sergiu Dumitriu
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: