On 7 Jan, 2006, at 9:41 am, [EMAIL PROTECTED] wrote:


Am I wrong or we can use 'identity.in_group' or/and
'identity.conditions.in_group'?
I thing that all conditions in 'identity.conditions' are in
'identity'...

@identity.require( identity.conditions.in_group( "admin" ) )
or
@identity.require( identity.in_group( "admin" ) ) 

???


Correct.

Although I usually add the following to my controller file:

from turbogears import identity
from turbogears.identity.conditions import *


--
Jeff Watkins


Reply via email to