Re: [xwiki-users] [SPAM] Permission Rights and Parent pages

2007-12-18 Thread Vitantonio Messa
Hi Mattia, you can create a space and put all those pages in the same space: then you can give rights to the space and all the pages will have the same rights. Vito [EMAIL PROTECTED] wrote: > Hi everybody, > > I'm trying to set some rights on some pages, and i'd like to have > those permissi

Re: [xwiki-users] CAPTCHA for comments and registration

2007-12-18 Thread marlon hendred
Is no one going to help? On Dec 3, 2007 3:16 AM, Antonio Goncalves <[EMAIL PROTECTED]> wrote: > Hi, > > I'm also trying to add captcha validation to the comments. I've looked at > Dodo skin and I'm trying to do the same for Albatross but it doesn't work. > I've set xwiki.plugin.captcha=1 in the x

Re: [xwiki-users] CAPTCHA for comments and registration

2007-12-18 Thread marlon hendred
Antonio, Were you able to get this working? On Dec 18, 2007 4:17 PM, marlon hendred <[EMAIL PROTECTED]> wrote: > Is no one going to help? > > > On Dec 3, 2007 3:16 AM, Antonio Goncalves <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > I'm also trying to add captcha validation to the comments. I've

[xwiki-users] Permission Rights and Parent pages

2007-12-18 Thread mattia_temp-newsgroup
Hi everybody, I'm trying to set some rights on some pages, and i'd like to have those permissions setted automatically on some other pages. I've setted on one and i've set for the other the first one as the parent. This isn't working :( How can i solve it?? Thank you! __

Re: [xwiki-users] 1.2rc1 - getting a list of users ("Firstname Lastname" format)

2007-12-18 Thread Sergiu Dumitriu
Esbach, Brandon wrote: > Hi all, > > In most of my tools, a user selection dropdown is used to allow someone > to be picked as a "owner" of a task, or assignement, etc. With a large > volume of users (often with same first names), I can't use either login > name (which is based on our network

Re: [xwiki-users] Event Calendar modification

2007-12-18 Thread Sergiu Dumitriu
André Pestana wrote: > Hello! > > How could I change the calendar of EventCalendar? I couldn't find a way > of change it. > > What's this calendar? a macro? > > Thanks in advance! > > -- > André Pestana > It is generated by a java class, look in xwiki-core/src/main/java/com/xpn/xwiki/plug

[xwiki-users] Event Calendar modification

2007-12-18 Thread André Pestana
Hello! How could I change the calendar of EventCalendar? I couldn't find a way of change it. What's this calendar? a macro? Thanks in advance! -- André Pestana ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] Can't set permissions

2007-12-18 Thread Esbach, Brandon
Permission setting results in the following (this example is for a particular space): Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Invocation of method 'getSpaces' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3:

[xwiki-users] 1.2rc1 - getting a list of users ("Firstname Lastname" format)

2007-12-18 Thread Esbach, Brandon
Hi all, In most of my tools, a user selection dropdown is used to allow someone to be picked as a "owner" of a task, or assignement, etc. With a large volume of users (often with same first names), I can't use either login name (which is based on our network login); or the user's first name alone

Re: [xwiki-users] rights of current user

2007-12-18 Thread Bjørnar Libæk
On Dec 18, 2007 1:20 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: > > Then there's a bug somewhere... Yes seems so. I should have mentioned that I use version 1.1-milestone-4. So this may have been fixed in newer versions. ___ users mailing list users

Re: [xwiki-users] rights of current user

2007-12-18 Thread Sergiu Dumitriu
Bjørnar Libæk wrote: > On Dec 18, 2007 12:53 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: > >> This is the right method, check if you really can't view that page. > > I did check this. When trying to view the page, I got the "You are not > allowed to view.." box, but the method returned true. A

Re: [xwiki-users] rights of current user

2007-12-18 Thread Bjørnar Libæk
On Dec 18, 2007 12:53 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: > This is the right method, check if you really can't view that page. I did check this. When trying to view the page, I got the "You are not allowed to view.." box, but the method returned true. As mentioned in my previous post,

Re: [xwiki-users] rights of current user

2007-12-18 Thread Bjørnar Libæk
Ok, this seems to work: #if($xwiki.hasAccessLevel("view",$context.getUser(),"${space}.WebHome")) The complete script is then: #set($spaces = $xwiki.spaces) #foreach($space in $spaces) [$space>${space}.WebHome] #if($xwiki.hasAccessLevel("view",$context.getUser(),"${space}.WebHome")) acess?

Re: [xwiki-users] rights of current user

2007-12-18 Thread Sergiu Dumitriu
Bjørnar Libæk wrote: > Sergiu Dumitriu wrote: >> #if($whome.hasAccessLevel("view",$context.getUser())) >> >> > > Ok, I tried this, but now the method returns true every time... Even > when explicitly adding an access rule denying view access for a specific > user, the method returns true. >

Re: [xwiki-users] rights of current user

2007-12-18 Thread Bjørnar Libæk
Esbach, Brandon wrote: > I try to use groups to determine my rights wherever possible, so for me I > just do a check on the user's group membership. > > Yes, but this require that you change your script everytime you add new spaces/groups. I would like to avoid this. ___

Re: [xwiki-users] rights of current user

2007-12-18 Thread Bjørnar Libæk
Sergiu Dumitriu wrote: > > #if($whome.hasAccessLevel("view",$context.getUser())) > > Ok, I tried this, but now the method returns true every time... Even when explicitly adding an access rule denying view access for a specific user, the method returns true. _

Re: [xwiki-users] rights of current user

2007-12-18 Thread Esbach, Brandon
I try to use groups to determine my rights wherever possible, so for me I just do a check on the user's group membership. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjørnar Libæk Sent: 18 December 2007 09:32 To: XWiki Users Subject: Re: [xwiki-user

Re: [xwiki-users] rights of current user

2007-12-18 Thread Bjørnar Libæk
Ok, maybe checking permission to WebHome isn't the best way to go, so if anyone could follow up on the "sql query" suggestion, it would be nice. However, I still don't understand why my script doesn't work. If a user has viewing rights on a WebHome page (the user can actually view the page), t