[xwiki-users] Velocity macros failing on myxwiki.org
Hello, On my group's myxiki.org site, http://scservicesub.myxwiki.org/ I am getting errors on my pages that use velocity macros even logged in as the administrator: rg.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script. at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253) This is preventing some important content from even being viewed. What can I do to fix this? Thanks, Regan
This is probably because of the new Script right introduced in 7.2. You should have a look at http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScript... . To summarize, edit right used to be enough to use Velocity scripting which now requires Scripting right. This right is automatically granted when upgrading unless you had some conflict on XWikiPreference page, you should go to your wiki rights setup and make sure every script author has the Script right (the simplest to to give it to XWikiAllGroup but maybe you want to restrict it a bit). On Sun, Nov 29, 2015 at 10:22 PM, Regan Gill <reganfgill@yahoo.com> wrote:
Hello,
On my group's myxiki.org site, http://scservicesub.myxwiki.org/ I am getting errors on my pages that use velocity macros even logged in as the administrator:
rg.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script. at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
This is preventing some important content from even being viewed. What can I do to fix this?
Thanks, Regan _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Regan Gill -
Thomas Mortagne