feat(bookings): add overrideAvailability flag to v2 create endpoint#29534
feat(bookings): add overrideAvailability flag to v2 create endpoint#29534GAURAV07C wants to merge 3 commits into
Conversation
|
Welcome to Cal.diy, @GAURAV07C! Thanks for opening this pull request. A few things to keep in mind:
A maintainer will review your PR soon. Thanks for contributing! |
📝 WalkthroughWalkthroughThis PR implements an organizer override feature allowing event type owners and org admins to create bookings that bypass availability checks and calendar conflict validation. The change adds an optional 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
#29249
This PR is a continuation of #29254 which was previously closed due to inactivity.
It has been rebased on the latest main branch and includes fixes based on prior review feedback:
Fixed incorrect HTTP status handling:
401 Unauthorized for unauthenticated requests
403 Forbidden for authenticated users without required permissions
Fixed validation edge case where overrideAvailability: null could bypass boolean validation