Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Add authentication mechanism #2

Open
5 tasks
smt116 opened this issue Sep 23, 2018 · 0 comments
Open
5 tasks

Add authentication mechanism #2

smt116 opened this issue Sep 23, 2018 · 0 comments

Comments

@smt116
Copy link
Owner

smt116 commented Sep 23, 2018

Currently, the access is public which means that credentials are not needed to, for example, delete an existing user with all associated posts.

This ticket covers the following subtasks:

  • add sessions controller that allows login and implements "whoami" functionality
  • allow public access only to "get posts" endpoint
  • allow deleting user only by himself
  • allow updating user only by himself
  • deny creating posts that are associated with other users
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