Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
3.2 M3
Description
Steps to Reproduce:
- Edit your user profile with the object editor and add an object of type DocumentSheetBinding with value Default Class Sheet
- Edit your user profile with the wiki editor and add the syntax
{{async}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/async}}
- Click "Save & View"
Expected result:
An error is displayed as the user doesn't have the right to execute the Groovy macro.
Actual result:
The text "Hello from groovy!" is displayed at the top of the document.
It cannot be reproduced in 15.* thanks to XWIKI-5027, but we need to add an explicit indication that the included content should be executed with the right of its author in 14.10.x.
Attachments
Issue Links
- depends on
-
XWIKI-20471 Allow forcing executing an included document with its own author
- Closed
- is caused by
-
XE-1019 Update the documents that help users to create and display XWiki classes to use the new sheet system
- Closed