Details
-
Improvement
-
Resolution: Fixed
-
Major
-
5.4.6
-
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
- is related to
-
XWIKI-11227 Use the sdoc XWikiContext property instead of hacking the content author when displaying a document with a sheet
- Closed
-
XWIKI-11223 Avoid hacking the context document content author by using XWikiContext sdoc hidden property in wiki macros
- Closed