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

Kontres PUT (PATCH) validation is broken #823

Open
MindChirp opened this issue Aug 27, 2024 · 0 comments
Open

Kontres PUT (PATCH) validation is broken #823

MindChirp opened this issue Aug 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MindChirp
Copy link
Contributor

What happened?

I've applied a band aid to the problem now, but the validation does not take into account cases where a booking has its date and booking state changed at the same time. By doing this as an admin, one can theoretically bypass any restrictions on overlapping reservations.

The code in question can be fond in the reservation serializer (ca. line 141)

Which users are seeing the problem?

Superadmins (Index), Admins (HS)

Relevant log output

No response

@MindChirp MindChirp added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant