Since both of you have AuthKit working, how does one set a session for
an authenticated user? How do you set the REMOTE_USER? I thought of
creating a session variable like "isauthenticated = True" but it has
to be set after REMOTE_USER is set, which i my case, is a headache

request.environ['paste.auth_tkt.set_user'](username)

Does not work for me in my controllers


On Jun 13, 8:48 pm, Antonio Beamud Montero <[EMAIL PROTECTED]>
wrote:
> El mi?, 13-06-2007 a las 11:28 -0700, HiTekElvis escribi?:
>
> > Hey, everybody-
>
> > I just started using AuthKit and have it working pretty snappily.
> > Very pleased.
>
> > Have a question:
>
> > Is there a way to have a sort of Authorization Manager, where you can
> > keep all of the permissions and authorizations in one file and don't
> > have decorators and such sprinkled throughout the individual
> > controllers?
>
> I also think it's a good thing have permissions and authorization
> separated from controllers (code in general), like zope3 approach, but
> using python code to assign permissions to actions and not zcml or other
> xml dialect :)
>
> > Lemme know and I apologize if this is in the docs somewhere and I
> > totally blanked.
>
> > Thanks!
>
> > Josh
>
> Greetings
>
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to