On Monday, June 6, 2011 1:35:23 PM UTC-4, Joaquin Orbe wrote: 
>
> Hi,
> try this: 
>
> @auth.requires(auth.requires_membership('A') or 
> auth.requires_membership('B'))
> def X(): ...
>
I think it would need to be auth.has_membership, not 
auth.requires_membership (the latter is intended to be used as a decorator 
and therefore returns a function, not a True/False result).
 
Anthony

Reply via email to