You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Members access the hub through physical doors using key cards or fobs. Integrating with smart lock systems (Kisi or Brivo) allows the platform to auto-grant access on booking confirmation and revoke it on cancellation — eliminating manual card management.
Overview
Members access the hub through physical doors using key cards or fobs. Integrating with smart lock systems (Kisi or Brivo) allows the platform to auto-grant access on booking confirmation and revoke it on cancellation — eliminating manual card management.
Context
ConfirmBookingProvider:backend/src/bookings/providers/confirm-booking.provider.tsCancelBookingProvider:backend/src/bookings/providers/cancel-booking.provider.tsCheckInProvider:backend/src/workspace-tracking/providers/check-in.provider.tsUserentity:backend/src/users/entities/user.entity.tsTasks
AccessCredentialentity:id,userId(FK),externalCredentialId(string — Kisi/Brivo credential ID),provider(KISI/BRIVO),isActive(bool),grantedAt,revokedAt(nullable),createdAtAccessIntegrationentity (singleton):id,provider,apiKey(encrypted),isEnabled,configuredAtPOST /integrations/access/configure— admin stores Kisi/Brivo API key (admin only)GET /integrations/access/status— returns whether integration is configured and enabled (admin only)CONFIRMED: if access integration enabled, call provider API to create a credential for the member; storeAccessCredentialrecordCANCELLEDorCOMPLETED: revoke the member's access credential via provider API; markisActive = falseGET /integrations/access/logs— admin view of access grant/revoke events (paginated)Files to Modify / Create
backend/src/integrations/access-control/(module, entities, controller, service)backend/src/bookings/providers/confirm-booking.provider.tsbackend/src/bookings/providers/cancel-booking.provider.tsbackend/src/app.module.ts