Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Adds ability to limit queries unless authenticated and authorized #229
Often developers want to allow unauthenticated users or visitors to query data from a table but place restrictions on what type of data in the table is returned based on information in each row. This allows you to merge a restriction query into the query params to limit of the scope of what an unauthenticated user may search for.
Adds 3 hooks:
NOTICE: Currently does not filter direct ids through the get method
Actually this is totally awesome @codingfriend1! Would you mind doing a PR to add these hooks to the docs? http://docs.feathersjs.com/authorization/bundled-hooks.html