8 messages in com.googlegroups.pylons-discussRe: AuthKit using database for users,...
FromSent OnAttachments
Chris Shenton16 Mar 2007 14:16 
pv16 Mar 2007 15:24 
James Gardner16 Mar 2007 18:14 
James Gardner16 Mar 2007 18:18 
Chris Shenton22 Mar 2007 12:42 
Chris Shenton22 Mar 2007 15:48 
James Gardner26 Mar 2007 10:02 
Cliff Wells26 Mar 2007 16:36 
Subject:Re: AuthKit using database for users, groups, roles?
From:James Gardner (jame@public.gmane.org)
Date:03/26/2007 10:02:51 AM
List:com.googlegroups.pylons-discuss

Hi Chris,

Chris Shenton wrote:

My implementation may not be the cleanest and I'm still uncertain about doing auth in my account.py controller versus doing something with valid() in app_globals.py.

Well, you only need to use valid() if you want the AuthKit middleware to handle the authentication. Since you are using the forward method your application has to handle authentication itself so your setup is correct!

This is really useful actually, thanks! I'm going to see if I can find a simple way to package it up so that it can form part of AuthKit itself, perhaps using Elixir and ToscaWidgets to make it look a bit simpler.

Cheers,

James