feat: add magic-link admin login and speaker materials portal

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-10-07 18:27:56 +02:00
1 parent 0b6d1f2b6f
commit 68fecc2ad1
28 files changed
+1623 -232

No files matched your search

+7 -6
View File
@@ -65,21 +65,22 @@ Bootcamp (Austria)** — instead of random demo data:
**Attendees** log in with **QR code** (typed or scanned) + **email** — the QR
token is the Auth password. **Staff** log in with **QR code + their staff
password** in the Convivo app, or **email + password** in the admin app. All four
password** in the Convivo app. The Admin console uses only
[email magic links](../frontend/admin-app.md#auth-guard). All four
staff share the password **`appe-admin-2026`** (stored in `contacts.password`,
auto-synced to `auth.users.encrypted_password` by the `trg_contact_password_sync`
trigger).
> **Default admin password:** any `@appe.at` contact is an admin and logs in
> with **`appe-admin-2026`** out of the box. The `trg_contacts_appe_at_admin`
> **Existing default password:** any `@appe.at` contact is an admin and retains
> **`appe-admin-2026`** for Convivo staff password login. The `trg_contacts_appe_at_admin`
> trigger sets `contacts.password = 'appe-admin-2026'` (when null) on
> insert/update, and the auth-user-creation helpers hash it into
> `auth.users.encrypted_password` so a freshly-created `@appe.at` admin can log
> in immediately. A custom password set on the contact row is always respected
> `auth.users.encrypted_password`. Admin magic-link login neither uses nor changes
> these passwords. A custom password set on the contact row is always respected
> (never overwritten). See migration
> [`20260910000000_admin_default_password.sql`](../../supabase/migrations/20260910000000_admin_default_password.sql).
| Person | Type | Email | Login |
| Person | Type | Email | Convivo Login |
|---|---|---|---|
| **Amelia Hernandez** | staff (admin) | amelia@appe.at | `appe-admin-2026` |
| **Sabrina Hota** | staff (admin) | sabrina@appe.at | `appe-admin-2026` |