On Mon, Apr 30, 2012 at 8:18 PM, Bruce Wade <[email protected]> wrote: > @auth.requires_membership('Analytics' or 'Analytics Manager') > def index(): > return dict(message="hello from analytics.py")
I am a bit new to this, but my understanding is that this is what you want.
@auth.requires(auth.has_membership('Analytics') and
auth.has_membership('Analytics Manager'))
Bill

