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

Throws an error if restriction methods are used outside of a find or get hook #232

merged 8 commits into from Jul 7, 2016


None yet
2 participants
Copy link

codingfriend1 commented Jul 7, 2016

An extra safety check for the developer.

codingfriend1 added some commits Jul 3, 2016

Adds ability to verifyOrRestrict, populateOrRestrict, or hasRoleOrRes…
…trict to either add a query restriction to the query params when the user is not authenticated or authorized or else leave the query unrestricted.

@ekryski ekryski merged commit 961713e into feathersjs:master Jul 7, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

This comment has been minimized.

Copy link

ekryski commented Jul 7, 2016

Thanks! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.