Steps to reproduce: 1. As a user with script right, add a XWiki.PDFClass object with some properties that contain scripts following https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Configuration/#HCustomizingthePDFexportLook26Feel 2. As a user without script right, try editing the document with the template. Expected result: A warning is displayed that the PDFClass could be broken. Actual result: No warning is displayed. |