Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to handle validation logic for users #10

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

puentesarrin
Copy link
Contributor

@puentesarrin puentesarrin commented Oct 27, 2018

Hey!

It can be useful to reject access or unauthorize users under certain conditions, so if GET_USER raises a GetUserException exception, this module can return proper response too instead of giving access everyone by default.

This changeset also introduces a GET_USER_EXCEPTION_HANDLER which is useful to handle response for this kind of user validations.

Hope that it's helpful for you too. Thanks!

@puentesarrin puentesarrin changed the title Ability to reject access to users Ability to handle authorization for users Oct 27, 2018
@puentesarrin puentesarrin changed the title Ability to handle authorization for users Ability to handle validation logic for users Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant