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

Change restrictToOwner error when a request does not contain ID #160

Closed
gurisko opened this Issue Apr 14, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@gurisko
Copy link

gurisko commented Apr 14, 2016

If a user tries to patch on a service without id it should probably return MethodNotAllowed. Currently it throws this: https://github.com/feathersjs/feathers-authentication/blob/master/src/hooks/restrict-to-owner.js#L15

@ekryski

This comment has been minimized.

Copy link
Member

ekryski commented Apr 15, 2016

Thanks @gurisko! I'll tackle this as part of 0.8

@ekryski ekryski added this to the 0.8 milestone Apr 15, 2016

@ekryski ekryski added the Bug label Apr 15, 2016

@ekryski ekryski closed this in 4a535a7 Apr 18, 2016

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.