codeuino / social-platform-donut-backend

Donut API:
http://donut-api-prod.codeuino.org/
GNU General Public License v3.0
24 stars 57 forks source link

[BUG] Permissions are not being taken care of #210

Closed kaustubhai closed 3 years ago

kaustubhai commented 3 years ago

Describe the bug Permission util function returns promise not being taken care of

Steps to Reproduce Steps to reproduce the behaviour:

  1. Create event, post, comment or organisation by any id
  2. You can Edit them by another users credentials

Expected behaviour Only admin or author of the post comment or organisation should have permission for it