Guard: Gate desk — verify & walk-ins
Gate desk is at Admin → Gate (/admin/gate). You need society admin or society staff
(guard) access — checked by gate_can_operate.
Verify a pre-approved pass (OTP)
- Ask the visitor for their 6-digit OTP from the resident.
- On Gate desk, enter the OTP in the Verify OTP field.
- Tap Verify — calls
verify_pass. - On success, you see the visitor name and pass is approved. Allow entry.
- If verification fails, the OTP may be wrong or expired — ask the resident to create a new pass or log a walk-in.
Verify a pre-approved pass (QR)
- Tap Scan QR (or paste QR token if the UI supports manual entry).
- Scan the visitor's QR code — calls
verify_pass_qr. - On success, allow entry after confirming the name matches.
Log a walk-in
Use this when the visitor has no pre-approved pass.
- Tap Walk-in or Request approval.
- Select the flat they are visiting.
- Choose visit kind (guest, delivery, cab, vendor, staff, other).
- Enter visitor name; add phone and company if known.
- Submit —
request_walkin_approvalnotifies flat owners. - Wait for approved status before allowing entry. Do not let walk-ins through while status is at gate.
Residents approve with approve_visit or deny with deny_visit. You receive a notification when
they decide.
Log entry and exit
After a visitor is approved (pre-approved verification or walk-in approval):
- Tap Log entry —
log_gate_eventwith event entry; status becomes entered. - When they leave, tap Log exit — status becomes exited.
Every entry and exit appends a row to gate_events for the committee audit trail.
Tips
- Pre-approved passes are valid 24 hours; expired passes need a new OTP from the resident.
- For deliveries during rush hour, ask residents to create delivery passes in advance.
- If a flat owner does not respond to a walk-in, contact the society office — do not guess approval.
Next: Troubleshooting · Audit trail.