[xwiki-users] Problem with a Downloaded Macro (RSSAggregator)
I'm getting this after installing the RssAggregator macro XAR and using it in a page:
Failed to execute macro: groovy
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute this script at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:134) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50) at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175) etc...
Ideas? Rick
On Mon, Jan 25, 2010 at 15:49, Rick Hadsall <[email protected]> wrote:
I'm getting this after installing the RssAggregator macro XAR and using it in a page:
Failed to execute macro: groovy
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute this script at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:134) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50) at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175) etc...
Looks like a script macro (groovy i guess) is used without programming right (i.e. the page where this macro is has been saved by someone that don't have programming right)
Ideas?
Rick
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello Rick, You need to save the macro document (Macros.RssAggregatorMacro IIRC) with a user that has the programming access level granted. Jerome. Rick Hadsall wrote:
I'm getting this after installing the RssAggregator macro XAR and using it in a page:
Failed to execute macro: groovy
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute this script at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:134) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50) at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175) etc...
Ideas?
Rick
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Jerome Velociter wrote:
Hello Rick,
You need to save the macro document (Macros.RssAggregatorMacro IIRC) with a user that has the programming access level granted.
Hi Jerome, I saved it as the Admin user - it didn't have Program access, but I added it afterward. Do I have to re-install the macro? If so how do I accomplish that? Rick
Hi Rick, On Mon, Jan 25, 2010 at 4:49 PM, Rick Hadsall <[email protected]> wrote:
Jerome Velociter wrote:
Hello Rick,
You need to save the macro document (Macros.RssAggregatorMacro IIRC) with a user that has the programming access level granted.
Hi Jerome,
I saved it as the Admin user - it didn't have Program access, but I added it afterward. Do I have to re-install the macro? If so how do I accomplish that?
Now that the Admin user has the programming right, simply re-save the macro page with that user and you should be good to go. Guillaule
Rick
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
participants (4)
-
Guillaume Lerouge -
Jerome Velociter -
Rick Hadsall -
Thomas Mortagne