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

Script right is tested in the context of the current document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 10.11-rc-1
    • 7.2-milestone-1
    • Panels
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      It totally defeat the purpose of the SCRIPT right which is supposed to be about the source of the current executing code...

      See https://forum.xwiki.org/t/error-in-panel-after-xwiki-upgrade-to-10-10/4017 for a consequence.

      A simple way to reproduce is to:

      • save some visible panel with a simple user
      • deny script right for this user in a specific page

      -> the panel works everywhere but in that page

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: