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

Use the sdoc XWikiContext property instead of hacking the content author when switching WYSIWYG editor tabs

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.3-milestone-1
    • 5.4.6
    • WYSIWYG Editor
    • None
    • Trivial
    • N/A
    • N/A

    Description

      We currently change the contentAuthor of the current document (without saving) in order to prevent PR leak. A cleaner solution is to use the sdoc XWikiContext property instead. The sdoc should be a clone of the current doc that has the content author set to the current user.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: