[web2py] Re: Assign users to multiple groups
Thanks a lot. On Wednesday, September 21, 2016 at 5:40:39 PM UTC-5, SR wrote: > > How can I assign a particular user to 3 different groups? > Any suggestions? > Thanks. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Assign users to multiple groups
How I do it using the web2py's "Administrative Interface"? On Wednesday, September 21, 2016 at 5:40:39 PM UTC-5, SR wrote: > > How can I assign a particular user to 3 different groups? > Any suggestions? > Thanks. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Assign users to multiple groups
On Wednesday, September 21, 2016 at 3:40:39 PM UTC-7, SR wrote: > > How can I assign a particular user to 3 different groups? > Any suggestions? > Thanks. > Wouldn't that be just applying the add_membership() call 3 times? auth.add_membership(brits, james_bond) auth.add_membership(shakers, james_bond) auth.add_membership(agents, james_bond) /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.