ghosts-network / gateway

RESTful public API for GhostNetwork education project
1 stars 5 forks source link

Only owner can remove comment #23

Closed volodymyr-borodin closed 3 years ago

volodymyr-borodin commented 3 years ago

Describe the bug Not only author of comment can remove it.

To Reproduce Steps to reproduce the behavior:

  1. Add comment for any publication as User1
  2. Delete it as User2

Expected behavior Delete trying should return 403 status code