Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Create isUser middleware. #23

Open
Pierre-RA opened this issue Mar 29, 2017 · 0 comments
Open

Create isUser middleware. #23

Pierre-RA opened this issue Mar 29, 2017 · 0 comments

Comments

@Pierre-RA
Copy link
Member

Some routes have to be protected by the isUser middleware.
For instance:
DELETE /api/users/1234, the route can only be accessed by someone with a valid token and is the correct user.

@Pierre-RA Pierre-RA added this to the release-v0.0.4 milestone Mar 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant