Is it possible to combine decorators using logical operators? e.g.
executing a function requires membership of the group 'site' or
membership of the group 'core'
@auth.requires_membership('site') OR auth.requires_membership('core')
Kind regards,
Annet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---