Scheduling
Set rules for how far in advance members can book and how long a single reservation can be.
Scheduling limits let you control how far in advance renters and students can book aircraft, and cap the duration of a single reservation. Admins, owners, and CFIs are exempt from these limits.
Limits apply to members with the Renter or Student role when they create a new schedule entry.
| Role | Advance limit | Duration limit |
|---|---|---|
| Renter | ✓ Enforced | ✓ Enforced |
| Student | ✓ Enforced | ✓ Enforced |
| CFI | — Exempt | — Exempt |
| Admin / Owner | — Exempt | — Exempt |
If a renter tries to book outside the allowed window or over the duration cap, the server returns an error and the booking is not created.
Each occurrence in a recurring series is validated individually. If your advance booking limit is 30 days and you create a 10-week recurring series, occurrences beyond day 30 will cause the series creation to fail. Break the series into shorter segments if needed.
supabase-migration-v35.sql.