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

Office preview doesn't work for presentation documents when guest users have been denied view access

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 9.11-rc-1, 8.4.6
    • 8.4.5
    • Resource
    • None
    • High
    • Medium
    • N/A
    • N/A

    Description

      How to reproduce:

      • Deny view access right to guest users
      • Connect to the office server
      • Attach a presentation to a wiki page
      • Click on the eye icon near the attached presentation

      The image gallery appears but the slide images are not loaded.

      The reason is because the temporary resource handler doesn't initialize the XWiki context so the ContextualAuthorizationManager uses the null user reference (guest user reference) to check access rights.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: