On Thursday, September 19, 2013 6:24:36 AM UTC-7, viniciusban wrote: > > Speaking in RBAC terms, you should check for permissions. > > In your controller, something like: > @auth.has_permission("can_do_it") > def my_action(): > # code goes from here... > > > This is section 9.2.1 "Decorators" of The Book, right?
/dps > > On Thu, Sep 19, 2013 at 2:13 AM, Jayakumar Bellie > <jkuma...@gmail.com<javascript:>> > wrote: > > Hi, > > I have groups with multiple permission. > > I have a user assigned to multiple groups. > > How to give access to user only for the groups they are assigned to. > > > > -- > > 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+un...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/groups/opt_out.