Re: [xwiki-users] can't program on virtual wiki

2010-09-09 Thread Erica Usui
I'm still thinking what I'm going to do with this issue (local users/global users). So currently I'm just programming using Superadmin user. Thanks for the help again! This was very usefull! 2010/9/3 Thomas Mortagne > On Thu, Sep 2, 2010 at 19:14, Erica Usui wrote: > > Main wiki: > > true -> s

Re: [xwiki-users] can't program on virtual wiki

2010-09-03 Thread Thomas Mortagne
On Thu, Sep 2, 2010 at 19:14, Erica Usui wrote: > Main wiki: > true -> should print true > XWiki.eusui -> should be prefixed with xwiki:XWiki. in the local wiki > > Local wiki: > false -> should print true > XWiki.eusui -> should be prefixed with xwiki:XWiki. in the local wiki This last line mean

Re: [xwiki-users] can't program on virtual wiki

2010-09-02 Thread Erica Usui
Main wiki: true -> should print true XWiki.eusui -> should be prefixed with xwiki:XWiki. in the local wiki Local wiki: false -> should print true XWiki.eusui -> should be prefixed with xwiki:XWiki. in the local wiki I have admin rights in all wikis. On the local wiki there isn't the option to set

Re: [xwiki-users] can't program on virtual wiki

2010-09-01 Thread Sergiu Dumitriu
On 09/02/2010 12:32 AM, Vincent Massol wrote: > > On Sep 1, 2010, at 8:00 PM, Erica Usui wrote: >> >> When i save with my user, who has all possible rights, i get no outcome. But >> when saving the page as superadmin, i get the expected result. > > Are you 100% sure your user is a user of the main

Re: [xwiki-users] can't program on virtual wiki

2010-09-01 Thread Vincent Massol
On Sep 1, 2010, at 8:00 PM, Erica Usui wrote: > The code i'm using is: > > 1.1 Grupo ITO > {table} > Usuário|NOME|Empresa > #set($sql = "select obj.name,prop.value from BaseObject obj, > StringProperty prop where obj.className='XWiki.XWikiGroups' and > obj.name!='XWiki.XWikiGroupTemplate' and pr

Re: [xwiki-users] can't program on virtual wiki

2010-09-01 Thread Erica Usui
The code i'm using is: 1.1 Grupo ITO {table} Usuário|NOME|Empresa #set($sql = "select obj.name,prop.value from BaseObject obj, StringProperty prop where obj.className='XWiki.XWikiGroups' and obj.name!='XWiki.XWikiGroupTemplate' and prop.name='member' and obj.id=prop.id.id") #foreach ($row in $xwik

Re: [xwiki-users] can't program on virtual wiki

2010-09-01 Thread Vincent Massol
Hi Erica, On Aug 12, 2010, at 8:20 PM, Erica Usui wrote: > Hello! :) > > I'm trying some velocity code on a farm, but it just works for superadmin > user, even though my user is registred on the main wiki, and have all > possible rights. That's strange. If the code requires programming rights a