This is a waste-management App with CRUD functionality. Never forget to take out your bins on time! Connect with your community and be Eco-Conscious together.
0
stars
0
forks
source link
Backend Comment deletion authentification throws an error #69
fix: correctly check the user on comment deletion
This error was found because the test case threw an error when the wrong
user tried to delete a comment.
Describe the bug When testing with unittests a non owner can delete a comment - resulting in an error
To Reproduce Steps to reproduce the behavior:
Expected behavior The non owner should be rejected from accessing the comment crud operations