Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Call authorization handler before not found handler #35

Merged
merged 1 commit into from
Feb 13, 2016
Merged

Conversation

cpjk
Copy link
Owner

@cpjk cpjk commented Feb 13, 2016

In load_and_authorize_resource, authorization failure should be
handled before resource not found.

In addition, if the authorization handler halts the request, the
not found handler should not be called, as this may result in an exception
if the user tries to subsequently send the request in the not found handler

In load_and_authorize_resource, the authorization failure should be
handled before resource not found.

In addition, if the authorization handler halts the request, the
not found handler should not be called, as this may result in an exception
if the user tries to subsequently send the request in the not found handler
cpjk added a commit that referenced this pull request Feb 13, 2016
Call authorization handler before not found handler
@cpjk cpjk merged commit 3a21110 into master Feb 13, 2016
@cpjk cpjk deleted the fix_handling branch February 13, 2016 22:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant