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