On Mon, Mar 7, 2011 at 18:18, Maxime Sinclair <[email protected]> wrote: > Sorry for this newbie question. > I use a XWIKI 2.7.0 farm. > I try to use a wiki macro written in Groovy. I saved it with the Admin > account in the main wiki. The macro is defined global (in the > WikiMacroClass). All works fine in the main wiki. > But in the subwikis, even connected as the admin of the farm, I can't > execute the macro (even if I see it in the wysiwyg editor). > > The error message is: > org.xwiki.rendering.macro.MacroExecutionException: You don't have the > right to execute this script > > Is there something to do in the Programming panel of the > administration page ? Do I have to import the macro in the subwiki ? > I started to read that thread > http://markmail.org/thread/2i7nkhiugv4z3ara but it didn't help me.
Actually you hit a bug (http://jira.xwiki.org/jira/browse/XWIKI-5957), sorry about that. It's fixed in 2.7.1 so the best would be to upgrade. > > Thanks for your help. > Maxime Sinclair > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
