Hi all, I've just checked in some code to the trunk which changes the behaviour of the setup.enable option to AuthKit.
If you specify: setup.enable = False in a config file it used to disable the AuthKit middleware. It now also disables all the authorization adaptors too. This is useful if you want to run test suites on the code itself without having to fake all the authentication and authorization set up. I've also added a setup.fakeuser option which sets the REMOTE_USER variable so that tests can be run as if a particular user is signed in. There are two related examples here: http://authkit.org/svn/AuthKit/trunk/examples/authorize.py http://authkit.org/svn/AuthKit/trunk/examples/authorize2.py This new functionality hasn't been widely tested yet so if you spot any problems please let me know. Cheers, James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
