desker/apps/api/src/reservations
Pau Costa Ferrer 604d4c7244 Allow admins and supervisors to book or update reservations for other users
- Add role-based restrictions for booking or updating reservations on behalf of others (Admins/Supervisors only).
- Extend reservation DTOs (`CreateReservationDto`, `UpdateReservationDto`) to include `userId` and `note` fields.
- Update Prisma schema to allow nullable `userId` and add support for reservation notes.
- Enhance API logic to validate permissions and handle ownership changes for reservations.
- Improve UI for booking flow; introduce "Book for" options, user search, and reservation notes.
- Localize new strings in `en.json` and `es-ES.json`.
2026-03-28 18:26:47 +01:00
..
dto Allow admins and supervisors to book or update reservations for other users 2026-03-28 18:26:47 +01:00
reservations.controller.ts Allow admins and supervisors to book or update reservations for other users 2026-03-28 18:26:47 +01:00
reservations.module.ts Add real-time space status updates and reservation management 2026-03-28 00:50:51 +01:00
reservations.service.ts Allow admins and supervisors to book or update reservations for other users 2026-03-28 18:26:47 +01:00