tenodi / permission

Npm package for hangling user permissions for routes based on roles.
https://www.npmjs.com/package/permission
MIT License
72 stars 22 forks source link

No redirection by default (401 UNAUTHORIZED instead) #1

Closed theo-lubert closed 9 years ago

theo-lubert commented 9 years ago

Ignore redirection by default, using standard 401 HTTP response code. Also a small fix in the doc: