On Friday, November 11, 2011 1:04:14 AM UTC-5, Massimo Di Pierro wrote:
It was a long day. :-)
OK, now I'm going to bed. :-)
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?
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 abasta...@gmail.com wrote:
auth.settings.login_next = URL('special') if
Of course. Don't know what I was thinking.
On Thursday, November 10, 2011 11:46:01 PM UTC-5, Massimo Di Pierro wrote:
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
It was a long day. :-)
On Nov 10, 10:59 pm, Anthony abasta...@gmail.com wrote:
Of course. Don't know what I was thinking.
On Thursday, November 10, 2011 11:46:01 PM UTC-5, Massimo Di Pierro wrote:
Unfortunately login_nezt is set before the login is accepted and
before you know what
5 matches
Mail list logo