Thank you -- that part is working now! One last question that I couldn't
find an answer for:
What is the add_handler/@action equivalent of this add_view from the wiki
tutorial?
config.add_view('webapp.auth.login',
renderer='webapp:templates/login.mako',
On Nov 20, 2010, at 2:21 AM, Eric Rasmussen wrote:
> I completed the wiki tutorial and had no problem setting up
> authorization/authentication with config.add_route and the keyword argument
> view_permission. However, I'm putting together my own app now using the
> Pylons style handlers, and i
Eric,
Have you configured both an authentication policy and an authorization
policy?
Have you read
http://docs.pylonshq.com/pyramid/dev/narr/urldispatch.html#using-pyramid-security-with-url-dispatch?
Have you run your app setting BFG_DEBUG_AUTHORIZATION=1 ? (will this be
PYRAMID_DEBUG_AUTHORIZAT
Hi everyone,
I completed the wiki tutorial and had no problem setting up
authorization/authentication with config.add_route and the keyword argument
view_permission. However, I'm putting together my own app now using the
Pylons style handlers, and it doesn't seem to act on the permission setting
(