Allow only authorised roles to access UpdateClubView
endpoint
#234
Labels
API
to label task requiring changes in API
bug
Something isn't working
good first issue
Good for newcomers
Issue summary
When an authenticated yet unauthorized user (not a core member nor a staff user) tries to access the
UpdateClubView
endpoint with a club id that does not exist in the database, API returnsHTTP404
instead ofHTTP403.
Steps to reproduce
Modify the permissions to access the endpoint
Versions
Terms
Any other relevant information?
The text was updated successfully, but these errors were encountered: