I defined a custom user table and created a few users. Then, I created two groups: core and site, made the users members of these groups and assigned permissions to the groups. Doing this raised the following questions:
Is it possible to combine decorators? e.g. executing a function requires login and membership of the group 'site'. When do I use @auth.requires_permission() or auth.has_permission ('create','adres'): In my case permissions do not reference a user. 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 web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---