Re: apache authorization with django

2007-09-20 Thread Robin Becker
Graham Dumpleton wrote: .. >> >> I for one am not sure; are we saying that even if I'm using flup / fastcgi as >> the transport I'm not able to use that for authorization? > > That depends on whether flup supports the backend side of the FASTCGI > specifications authentication/authorisati

Re: apache authorization with django

2007-09-20 Thread Graham Dumpleton
On Sep 20, 7:13 pm, Robin Becker <[EMAIL PROTECTED]> wrote: > Graham Dumpleton wrote: > > On Sep 20, 8:39 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> > > wrote: > >> On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > >>> Not properly though. > >> Indeed -- the auth handler has always been

Re: apache authorization with django

2007-09-20 Thread Robin Becker
Graham Dumpleton wrote: > On Sep 20, 8:39 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> > wrote: >> On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: >> >>> Not properly though. >> Indeed -- the auth handler has always been of "works-for-me" quality; >> I don't know nearly enough about Apache

Re: apache authorization with django

2007-09-19 Thread Graham Dumpleton
On Sep 20, 8:39 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > > Not properly though. > > Indeed -- the auth handler has always been of "works-for-me" quality; > I don't know nearly enough about Apache to write a proper one. I would

Re: apache authorization with django

2007-09-19 Thread Jacob Kaplan-Moss
On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Not properly though. Indeed -- the auth handler has always been of "works-for-me" quality; I don't know nearly enough about Apache to write a proper one. I would be thrilled and delighted if someone who did would step forward and write som

Re: apache authorization with django

2007-09-19 Thread Graham Dumpleton
On Sep 19, 10:46 pm, Robin Becker <[EMAIL PROTECTED]> wrote: > Graham Dumpleton wrote: > > . > > >>> In 2.0 there seems no way to provide another > >>> authorizer without writing an apache module. > >> Correct. > > > Whoops. Not strictly true. You can write one with mod_python by > > imple

Re: apache authorization with django

2007-09-19 Thread Graham Dumpleton
On Sep 19, 10:18 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > OK my code looks like the standard django/contrib/auth/modpython.py the > > patch is > > > *** > > *** 39,44 > > --- 38,54 > > ># check the password and any permission given > >if

Re: apache authorization with django

2007-09-19 Thread Graham Dumpleton
On Sep 19, 10:05 pm, Robin Becker <[EMAIL PROTECTED]> wrote: > Graham Dumpleton wrote: > > On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote: > >> I find I can use django users and groups to authorize apache locations and > >> directories using a modified version of modpython.py(I just ha

Re: apache authorization with django

2007-09-19 Thread Robin Becker
Graham Dumpleton wrote: . >> >>> In 2.0 there seems no way to provide another >>> authorizer without writing an apache module. >> Correct. > > Whoops. Not strictly true. You can write one with mod_python by > implementing a authzhandler(). You just need to know what you are > doing. ;-) >

Re: apache authorization with django

2007-09-19 Thread Robin Becker
Graham Dumpleton wrote: > On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote: >> I find I can use django users and groups to authorize apache locations and >> directories using a modified version of modpython.py(I just hacked it to >> check >> for required groups). >> >> I have some diffi

Re: apache authorization with django

2007-09-19 Thread Graham Dumpleton
On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote: > I find I can use django users and groups to authorize apache locations and > directories using a modified version of modpython.py(I just hacked it to check > for required groups). > > I have some difficulties with this simple scheme. >

apache authorization with django

2007-09-18 Thread Robin Becker
I find I can use django users and groups to authorize apache locations and directories using a modified version of modpython.py(I just hacked it to check for required groups). I have some difficulties with this simple scheme. First off it seems to be completely separate from the normal django