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

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.2-milestone-1
    • Fix Version/s: 10.11-rc-1
    • Component/s: Panels
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: