Unfortunately login_nezt is set before the login is accepted and before you know what the use permissions are.
You must set a conditional rwdirect inside the login_onaccept callback. On Nov 10, 9:49 pm, Anthony <[email protected]> wrote: > auth.settings.login_next = URL('special') if > auth.has_membership('supervisor') else URL('regular') > > Anthony > > > > On Thursday, November 10, 2011 10:40:40 PM UTC-5, tomt wrote: > > > Hi, > > > Is there a way to redirect a user to a specific controller based on > > their auth_group.role and/or auth_membership? > > > I would like a view only user to be redirected to one controller after > > login, and a "supervisor" user go to a different controller after > > login. > > > Any suggestions? > > > Thanks, - Tom

