Actually, that doesn't work either in the new versions, it should be:
@identity.require(identity.in_group("admin"))
Jeff Watkins wrote:
> On 12 Mar, 2006, at 6:20 am, Arthur Clune wrote:
>
> > @identity.require( group="admin" )
>
> Ah, because you're using an out of date syntax.
>
> This should be:
>
> @identity.require( in_group("admin") )
>
> I'm not certain why there's a sample posted on the Wiki that's so out
> of date.
>
> --
> Jeff Watkins
> http://newburyportion.com/
>
>
>
> --Apple-Mail-26-670883760
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> X-Google-AttachSize: 1554
>
> <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
> -khtml-line-break: after-white-space; "><DIV><DIV>On 12 Mar, 2006, at =
> 6:20 am, Arthur Clune wrote:</DIV><BR =
> class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><P =
> style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Monaco" size=3D"3"=
> style=3D"font: 12.0px Monaco"><SPAN class=3D"Apple-converted-space">=A0 =
> =A0 </SPAN>@identity.require( group=3D"admin" )</FONT></P> =
> </BLOCKQUOTE></DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV>Ah, =
> because you're using an out of date syntax.=A0<BR><BR><DIV>This should =
> be:</DIV><DIV><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV>@identity.require( =
> in_group("admin") )</DIV><DIV><BR =
> class=3D"khtml-block-placeholder"></DIV><DIV>I'm not certain why there's =
> a sample posted on the Wiki that's so out of date.</DIV><DIV><BR><DIV> =
> <SPAN class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
> font-size: 14px; font-style: normal; font-variant: normal; font-weight: =
> normal; letter-spacing: normal; line-height: normal; text-align: auto; =
> -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> white-space: normal; widows: 2; word-spacing: 0px; =
> "><DIV>--</DIV><DIV>Jeff Watkins</DIV><DIV><A =
> href=3D"http://newburyportion.com">http://newburyportion.com</A>/</DIV><BR=
> class=3D"Apple-interchange-newline"></SPAN> =
> </DIV><BR></DIV></BODY></HTML>=
>
> --Apple-Mail-26-670883760--
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---