[xwiki-users] Programming rights
Hi all, I have give to myself programming right on my xwiki (from the global rights section), but still, when I write $doc.hasProgrammingRights() or $context.hasProgrammingRights() I got "false" as response instead of true. Does anyone know where is my mistake? Thanks! -- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND
On Nov 5, 2007, at 3:58 PM, Vitantonio Messa wrote:
Hi all,
I have give to myself programming right on my xwiki (from the global rights section), but still, when I write $doc.hasProgrammingRights() or $context.hasProgrammingRights() I got "false" as response instead of true.
Does anyone know where is my mistake?
is your wiki in a virtual setup? If so, I think only users created on the main wiki can have programming rights. -Vincent
Vitantonio Messa wrote:
Hi all,
I have give to myself programming right on my xwiki (from the global rights section), but still, when I write $doc.hasProgrammingRights() or $context.hasProgrammingRights() I got "false" as response instead of true.
Does anyone know where is my mistake? Thanks!
Hi, Vitantonio I'd not tried this until you have posted this message, but I've been seeing some Groovy (at least) related issues while working with 1.2-milestone-1.5235 (some scripts didn't work at all, some syntaxes didn't work). I'm now using 1.2-SNAPSHOT.5607 and it looks like this was already solved. So, I've no answer to your question, but it is like this problem was solved in the path to the coming 1.2 release. Let's see what others say! Cheers, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Vincent Massol wrote:
On Nov 5, 2007, at 3:58 PM, Vitantonio Messa wrote:
Hi all,
I have give to myself programming right on my xwiki (from the global rights section), but still, when I write $doc.hasProgrammingRights() or $context.hasProgrammingRights() I got "false" as response instead of true.
Does anyone know where is my mistake?
is your wiki in a virtual setup?
If so, I think only users created on the main wiki can have programming rights.
Hi Vincent, you're right, I'using a virtual setup. And I was trying to give programming right to the user not on the main wiki. Thanks for your answer! Vito -- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND
Vitantonio Messa wrote:
Vincent Massol wrote:
On Nov 5, 2007, at 3:58 PM, Vitantonio Messa wrote:
Hi all,
I have give to myself programming right on my xwiki (from the global rights section), but still, when I write $doc.hasProgrammingRights() or $context.hasProgrammingRights() I got "false" as response instead of true.
Does anyone know where is my mistake?
is your wiki in a virtual setup?
If so, I think only users created on the main wiki can have programming rights.
Hi Vincent,
you're right, I'using a virtual setup. And I was trying to give programming right to the user not on the main wiki.
Thanks for your answer!
Vito
-- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
So, please, who can save scripts in a virtual xwiki? I've been playing with different combinations and it seems to me that only Admin group users defined in both the controller and in the virtual wiki can do that. Thanks, Ricardo -- View this message in context: http://www.nabble.com/Programming-rights-tf4752136.html#a13607252 Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (4)
-
Ricardo Rodríguez -
Vincent Massol -
Vitantonio Messa -
Your XEN ICT Team - Ricardo Rodriguez