Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove access to other people's user data (#15)
/users now returns an error 403 (either remove it or keep it with access limited to admins). /users/:id now returns an error 403 if the accessed user is a different user from the one logged in. gbv/cocoda#273
- Loading branch information
1 parent
8e6d3d0
commit a21f502
Showing
2 changed files
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters