Admin password login + attendee profile self-service
- contacts.password: admin-only APPE Admin login password (event-independent); must match the bcrypt hash in auth.users.encrypted_password (set in Supabase). - APPE Admin login is now email + password (was QR token). - update_my_profile RPC (security definer, scoped to current_email()): attendees set their LinkedIn URL + show_email / show_linkedin toggles from the Profile. - Convivo Profile gains a 'Profile settings' card (LinkedIn + 2 toggles + Save). - Visibility enforced server-side in the public projection (linkedin nulled when show_linkedin off, email omitted when show_email off). - Seed: admin password appe-admin-2026; staff keep QR tokens as auth passwords. - Docs updated (schema, rpcs, seed, admin-app, screens, api-client, architecture, next-steps, README, docker-compose). 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:
1 parent
2f3952dc71
commit
0221b1a8c0
19 files changed
+290
-59
No files matched your search
@@ -88,6 +88,20 @@ body {
|
||||
.input:focus { border-color: var(--accent); }
|
||||
textarea.input { resize: none; min-height: 96px; }
|
||||
.divider { height: 1px; background: var(--line); margin: 4px 0; }
|
||||
/* toggle switch */
|
||||
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
|
||||
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
|
||||
.toggle .track {
|
||||
width: 42px; height: 24px; border-radius: 999px; background: var(--line);
|
||||
position: relative; transition: background .15s; flex-shrink: 0;
|
||||
}
|
||||
.toggle .knob {
|
||||
position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
|
||||
background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s;
|
||||
}
|
||||
.toggle input:checked + .track { background: var(--accent); }
|
||||
.toggle input:checked + .track .knob { transform: translateX(18px); }
|
||||
.toggle-lbl { font-size: 14px; font-weight: 600; }
|
||||
|
||||
/* ---------- Tab bar ---------- */
|
||||
.tabbar {
|
||||
|
||||
Reference in new issue
Block a user