Re: [web2py] Re: How to add users to a table row by request

2014-01-12 Thread Andrew Evans
Excellent! Thank you Anthony this solved my problem. Also thank you for the clear explanations :-) *cheers On Sun, Jan 12, 2014 at 6:05 AM, Anthony wrote: > If these groups are for the purpose of controlling access to resources, > you might consider using the built-in role-based access control

[web2py] Re: How to add users to a table row by request

2014-01-12 Thread Anthony
If these groups are for the purpose of controlling access to resources, you might consider using the built-in role-based access control available via Auth. You would create Auth groups and then assign users as members to groups. You could then use auth.has_membership() and @auth.requires_member

[web2py] Re: How to add users to a table row by request

2014-01-12 Thread Alan Etkin
There is a built-in feature for RBAC (Auth). Check the book http://www.web2py.com/books/default/chapter/29/09/access-control#Access-Control -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p