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 programming rights.
2010/9/1 Sergiu Dumitriu <sergiu(a)xwiki.com>
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 wiki and that is has
programming
rights on the main wiki?
To test, just put this in a page from the main wiki, and in a page from
the virtual wiki, and save it using your user:
{{velocity}}
$context.hasProgrammingRights() -> should print true
$context.user -> should be prefixed with xwiki:XWiki. in the local wiki
{{/velocity}}
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users