Skip to content

pyramid.debug_authorization has unintended behavior with views using NO_PERMISSION_REQUIRED #954

Closed
mmerickel opened this Issue Mar 28, 2013 · 0 comments

1 participant

@mmerickel
Pylons Project member

http://stackoverflow.com/questions/15643798/pyramid-sessions-and-static-assets

Basically the authdebug_view wrapper invokes the authentication policy for NO_PERMISSION_REQUIRED instead of treating it as an Allowed permission. This causes an unintended invocation of the authorization policy simply to test the permission and log a result.

@mmerickel mmerickel added a commit that closed this issue Apr 3, 2013
@mmerickel mmerickel fix #954 bd17ff5
@mmerickel mmerickel closed this in bd17ff5 Apr 3, 2013
@mmerickel mmerickel added a commit that referenced this issue Apr 3, 2013
@mmerickel mmerickel fix #954 3bec2f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.