Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow only authorised roles to access UpdateClubView endpoint #234

Open
1 task
PranshuNayak opened this issue Sep 3, 2022 · 0 comments
Open
1 task

Allow only authorised roles to access UpdateClubView endpoint #234

PranshuNayak opened this issue Sep 3, 2022 · 0 comments
Labels
API to label task requiring changes in API bug Something isn't working good first issue Good for newcomers

Comments

@PranshuNayak
Copy link
Contributor

PranshuNayak commented Sep 3, 2022

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 returns HTTP404 instead of HTTP403.

Steps to reproduce

Modify the permissions to access the endpoint

Versions

- Python:
- Django:
- Node:
- React:
- Browser:

Terms

  • I have confirmed that this issue can be reproduced as described on a fresh gymkhana project.

Any other relevant information?

issue

@PranshuNayak PranshuNayak added bug Something isn't working good first issue Good for newcomers API to label task requiring changes in API labels Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API to label task requiring changes in API bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant