Re: [xwiki-users] Problem with a Downloaded Macro (RSSAggregator)

2010-01-26 Thread Guillaume Lerouge
Hi Rick,

On Mon, Jan 25, 2010 at 4:49 PM, Rick Hadsall nos...@elwynor.com 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem with a Downloaded Macro (RSSAggregator)

2010-01-25 Thread Rick Hadsall
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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with a Downloaded Macro (RSSAggregator)

2010-01-25 Thread Thomas Mortagne
On Mon, Jan 25, 2010 at 15:49, Rick Hadsall nos...@elwynor.com 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with a Downloaded Macro (RSSAggregator)

2010-01-25 Thread Jerome Velociter
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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with a Downloaded Macro (RSSAggregator)

2010-01-25 Thread Rick Hadsall
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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users