goat-community / goat

This is the home of Geo Open Accessibility Tool (GOAT)
GNU General Public License v3.0
92 stars 51 forks source link

GOAT-Client / Core: Incorrect status message when a user tries to delete a project not owned by them #3340

Open nihar1024 opened 1 month ago

nihar1024 commented 1 month ago

When a user attempts to delete a shared project not owned by them, the projects endpoint response correctly contains a 401 unauthorized exception. The client however, informs the user that the deletion was successful.

Screenshot 2024-10-08 at 9 35 32 AM