How visitor & gate works in Plinth
Residents pre-approve visitors with OTP, QR, and invite links. Guards verify at Gate desk with camera scan or OTP. Walk-ins notify flat owners; deliveries support Leave at Gate parcels. Every transition is audit-logged.
Flow A: Pre-approved visitor pass
Step 1: Resident creates a pass
- Open Visitors (
/visitors). - Tap Pre-approve — choose kind: guest, delivery, cab, vendor, staff, or other.
- Enter name, optional phone, company (delivery presets), vehicle, and optional valid from time.
- Save as recurring visitor template for frequent staff or vendors.
- Submit —
create_passreturns OTP, QR, and an invite link (/invite/gate/:token).
Step 2: Guard verifies at gate
- Open Gate desk (
/admin/gate). - Scan QR with the camera or enter the 6-digit OTP.
verify_pass/verify_pass_qrapproves expected passes and records verification.
Step 3: Log entry and exit
- Tap Entry —
log_gate_event; flat owners get an entry notification. - Tap Exit when they leave.
- Use Inside now tab to see who is on campus. Multi-gate societies pick the active gate.
Flow B: Walk-in approval
- Guard logs walk-in with flat, kind, phone (lookup returning visitors), vehicle, and optional photo.
- Flat owners approve, deny, or Leave at gate (deliveries).
- Guard marks parcel collected → resident gets pickup OTP → guard confirms handover.
Offline and export
- Entry/exit queues locally when offline; sync when connectivity returns.
- Admins export gate events CSV from the passes tab.