Skip to content

fix(desk): filter check-in and room-move dropdowns by room type - #279

Merged
telivity-otaip merged 3 commits into
mainfrom
cursor/frontdesk-roomtype-filter-2642
Aug 3, 2026
Merged

fix(desk): filter check-in and room-move dropdowns by room type#279
telivity-otaip merged 3 commits into
mainfrom
cursor/frontdesk-roomtype-filter-2642

Conversation

@telivity-otaip

Copy link
Copy Markdown
Collaborator

Summary

Check-in and room-move dropdowns listed all vacant rooms regardless of reservation room type, causing API validation errors when a room of a different type was selected.

Changes

  • Filter assignable rooms by reservation roomTypeId in apps/dashboard/src/pages/FrontDesk.tsx (matching walk-in behavior).
Open in Web Open in Cursor 

cursoragent and others added 3 commits August 3, 2026 14:35
role_permissions was unique on (role_id, permission_key) only. Once any
property seeded a system role, later property bootstraps could skip
grants for the same pair. Permission checks are property-scoped, so
those tenants effectively had no grants.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Check-in and room-move dropdowns listed all vacant rooms regardless of
reservation room type, causing API validation errors when a room of a
different type was selected. Filter assignable rooms by reservation
roomTypeId (matching walk-in behavior).

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip marked this pull request as ready for review August 3, 2026 17:48
@telivity-otaip
telivity-otaip merged commit dd4edd2 into main Aug 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants