Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autorización Questions #174

Open
6 tasks
ghnoob opened this issue Jan 7, 2022 · 0 comments
Open
6 tasks

Autorización Questions #174

ghnoob opened this issue Jan 7, 2022 · 0 comments
Assignees
Labels

Comments

@ghnoob
Copy link
Contributor

ghnoob commented Jan 7, 2022

Lista de tareas

  • POST /questions: asegurarse que solo el usuario logueado pueda crear preguntas
  • DELETE /questions/{id}: asegurarse que solo el usuario logueado pueda eliminar
  • POST /answers: asegurarse que solo pueda responder el que hizo las preguntas
  • DELETE /answers/{id}: solo las puede borrar el que las hizo
  • Documentar las respuestas con código 403
  • Testear que las excepciones lanzadas funcionen correctamente
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants