> In the next major release of repoze.what (already under development), it will
> be fully repoze.who-independent and thus it will provide its own middleware.
> This will be the only backward incompatible change (since the setup_auth()
> function will be replaced), but fortunately this won't affect projects that
> use the quickstart plugin (nearly all TG2 projects, I think).

So this means that if the user is set in REMOTE_USER properly, things
in repoze.what will just work?

If so it makes the standared WebTest idiom just work, so you can write:

app.get('/secret', extra_environ=dict(REMOTE_USER='bob'))

Or to do it for every request to the test app:

app = TestApp(my_app, extra_environ=dict(REMOTE_USER='bob'))

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to