Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use 403 for authorization errors
401 is called "unauthorized" but this is a bug in the HTTP spec - see https://stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses 403 should be used if a user is correctly authenticated but does not have sufficient permission to perform an action
- Loading branch information