Details
-
Bug
-
Resolution: Fixed
-
Critical
-
0.9.543, 0.9.793, 0.9.840, 0.9.1252
-
None
-
Integration
-
Description
PreviewAction does not update the Author of the doument (and does not set the Creator for new documents). This could create baffling outcomes, but also creates a major security issue.
Suppose a user with programming rights creates a page that can be edited by normal users. Then, if a user creates a script that requires programming rights, would receive an error if he saves the doument, but will succesfully execute the script if he previes the document without saving.
Fixing this is trivial, with no side effects, as the document used in the preview action is just a temporary clone of the original document.
Attachments
Issue Links
- is duplicated by
-
XWIKI-2490 Preview doesn't work when the document content has script requiring programming rights
- Closed