Details
-
Improvement
-
Resolution: Fixed
-
Major
-
6.2.1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Right now when calling XWiki#getRenderedContent (which is supposed to be executed in the context of the document), if anything set a secure doc in the context before, the programing right will be checked on that secure doc instead of the content document (so really not the expected one).
Same issue but even worst with the hacky "lets temporary change the context document content author" that we can't easily work around (without some very crappy stuff like reloading the document from the DB). But this one should be fixed everywhere anyway (see XWIKI-11223 for example).
Attachments
Issue Links
- relates 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