QR Gate Access¶
Coaching passes let guards admit only the right students and coaches, at the right time, for the right batch. This page is for society admins. Guards should read QR Code Scanning.
Who gets a pass¶
| Pass | Issued when |
|---|---|
| Student pass (one per child or adult enrolment) | The seat is confirmed and the fee rules are met. It is issued automatically; a parent can also tap Get pass |
| Coach pass | The coach's agreement is active |
A student pass is not issued while the enrolment is waitlisted or awaiting payment, the batch is not published, the coach is suspended or has no active agreement, or the fee has not been paid as your rules require (the first period must be paid; see Enrolment & Payments).
The QR code contains only an opaque pass id and a signature. It holds no name, phone number, amount or health information.
What the gate checks¶
Every scan is checked in this order. The result is a plain valid or invalid verdict with a reason:
| Check | Typical message to the guard |
|---|---|
| Genuine coaching pass for this society | Not a valid pass / Wrong society |
| Not expired or cancelled | Pass expired / Pass cancelled |
| Right lane (student or coach) | Wrong lane |
| Session window | Not now: scans are accepted from 15 minutes before the start to 15 minutes after the end by default |
| A session exists for this pass today | No session today |
| Enrolment still active | Not enrolled |
| Coach agreement active and coach not suspended | Coach not cleared |
| Session and venue still on | Session cancelled / Venue closed |
| Not already inside, not scanned a moment ago | Already inside / Scanned just now |
Someone already inside can always leave, even if their pass was cancelled meanwhile.
Several batches at once¶
If one pass is good for more than one batch that is open right now, the guard is asked to pick the batch. Nothing is recorded until they choose. If the chosen batch is not the pass holder's, the verdict is Wrong batch, it is logged, and no entry is recorded.
Suspicious use¶
- The same pass seen on two phones or gates within a minute is flagged as possible sharing. It still admits only once.
- Two guards scanning the same QR at the same moment record exactly one entry.
- Scans are rate limited per guard and per network to stop abuse.
Early arrivals¶
A guard can allow early arrival only within 30 minutes of the window opening, entering a reason. It is logged and appears in your audit trail. Every other invalid verdict stays invalid, even for a manual lookup.
Managing passes¶
Open Sports & Coaching → Access & Gate. Tabs: Passes, Gate log, Today's sessions, Offline sync.
- Passes: search by child, coach, batch or parent; filter by status or program. Regenerate or revoke with a reason (3 to 300 characters).
- Regenerate replaces a pass; the old QR stops working at once. It cannot be done while the person is inside.
- Revoke cancels a pass.
- Gate log: every entry, exit and denial, with guard, device and whether it was offline. Entries cannot be edited or deleted.
- Today's sessions: for each session, how many passes exist and how many people are inside.
- Offline sync: scans that a guard's phone uploaded but that were not accepted (for example the phone clock was wrong), with counts by reason. The log holds ids, codes and times only.
When a coach is suspended or an agreement ends, the coach's pass is cancelled and student passes for their batches are held by default. Your gate settings can instead cancel them or leave them untouched. Holds lift when the coach is reinstated or an agreement becomes active again.
Gate settings¶
Admins with qr.issue or qr.revoke can change these in the gate settings:
| Setting | Default |
|---|---|
| Minutes allowed before a session starts / after it ends | 15 / 15 (0 to 60) |
| Early-arrival override window | 30 minutes (0 to 60) |
| Allow coming back in after leaving | On |
| Coach must be admitted at the gate before marking attendance | On |
| Notify the parent when a child enters or leaves | On |
| How long an offline scan can wait before it is rejected | 72 hours |
Offline scanning¶
Guards can keep scanning when the internet drops.
- While online, the guard downloads the offline pack from the Coaching gate screen. The phone stores today's sessions and the passes it needs. The pack is good for 12 hours.
- Offline, each scan is checked on the phone and shown as provisional. Scans are saved on the phone.
- When the phone is back online the scans sync automatically (the guard can also tap to send). The server re-checks each one:
- Accepted: applied.
- Accepted but flagged: for example the pass was cancelled after the scan. The scan really happened at the gate, so it is kept and marked for you.
- Duplicate: already recorded.
- Conflict: the pass was valid but the session was cancelled or the venue closed; flagged for your review.
- Rejected: not applied (for example the pass was cancelled before the scan, or the phone clock was far off).
The pack holds names and pass ids only. It carries no phone numbers, health notes or fees. If a phone's clock is off by more than five minutes the guard is asked to fix it, or to send the scans with corrected times, which are then labelled as time-corrected.
Permissions¶
| Permission | Lets a sub-admin |
|---|---|
qr.view |
See passes, gate log, today's sessions, offline sync log, settings |
qr.issue |
Issue and regenerate passes; change gate settings |
qr.revoke |
Revoke passes |
qr.scan |
Scan coaching passes (guards use their own login) |
Next Steps¶
- QR Code Scanning: what guards see and do
- Entry Passes
- Coaching FAQ: why a pass can be invalid