OptimalBits/node_acl — pull request #62 by FreakTheMighty (2014-08-29 20:16:14+00:00)
Title: Changing permission denied error to 403

I'm changing the "Insufficient permissions" error to 403 because 401 is intended for users who are not authenticated. The 403, on the other hand, is intended for users who are authenticated, but are not permitted access to the resource.

http://stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses

This caused issues in our ember application where that 401 response results in a redirect to the login page.