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

Pages broken after upgrading to 7.2 caused by the new Script permission when user has been removed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 7.2-milestone-1
    • Scripting
    • Unknown
    • N/A
    • N/A

    Description

      Use case: A user who has script rights edits pages and puts some scripts in them and later on that user is then removed. Later on that wiki is upgraded to 7.2. Result: all the pages with scripts that were saved by that removed user are not displaying correctly since the script macro doesn't execute (unless someone with script rights saves them again).

      We need to find some solution to handle this use case. Note that this use case existed before with Programming Rights too but it's now a lot more visible since a lot of pages can use script macros that do not require Programming Rights.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: