I am using url dispatch so it's a little different than using the resources, 
and I just decided to implement repoze.what because it seems easier than I 
initially thought (after figuring out how to add the middleware). 

The only thing I am having trouble with is getting the request in my custom 
authorization policy for repoze.what (so i can pass a repoze.what predicate 
to the permission keyword of the view config). The context is passed to the 
permits method, but I can't figure out how to get the request. 

The context is the default root factory because I am using url dispatch, I 
wonder if there is a way to get the request from the context, or assign the 
request to the default root factory somewhere?

--Jason

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/6WLtFJWDc7cJ.
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