Hi Bruce, I had the same problem, this is the best solution, according to Anthony (https://groups.google.com/forum/#!msg/web2py/A0z8DSZdYTo/H_1N6_4MZfEJ):
@auth.requires(lambda: auth.has_membership('Analytics') or auth.has_membership('Analytics Manager)) I made the groups constants, in my case: NODE='Node Manager' HUB='Hub Manager' Best regards, Annet