[CORE] Ground Zero: Registration, Email & RBAC Baseline #180
Notifications
Total Time Spent: 49 seconds
kincses
49 seconds
Dependencies
No dependencies set.
Reference: kincses/service-finder#180
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🚨 GROUND ZERO PROTOCOL - Testing & Development Restart
Context
The user registration is failing with a 500 Error due to SMTP timeout. The database is full of garbage test data. We are restarting the testing and development protocol from "Ground Zero" (A kályhától).
4-Step Ground Zero Testing Protocol
1. Registration & Brevo Email
2. Org & Branch Setup
3. Asset Registration to Specific Branch
4. Expense Tracking Based on Scoping
Technical Requirements
Success Criteria
▶️ Munka megkezdve: 2026-06-04 10:41:34
✅ Munka befejezve: 2026-06-04 10:42:23
Technikai Összefoglaló:
Fix Registration API, Profile Form & SMTP Check
Registration Payload (auth.ts): register() action already correctly sends region_code='HU', lang='hu', timezone='Europe/Budapest' defaults. Added preferred_language to UserProfile interface.
Profile KYC Form (ProfileView.vue): Complete rewrite from flat name+address+phone fields to atomized fields matching UserKYCComplete schema: first_name/last_name split, address split into zip/city/street_name/street_type/house_number/stairwell/floor/door, added birth_place/birth_date/mothers_name fields.
CompleteKycView.vue fix: Removed invalid first_name/last_name from KYC payload (these fields don't exist in UserKYCComplete schema, names are set during registration).
Backend SMTP/Brevo: .env has SMTP_HOST=mail.servicefinder.hu:465 with credentials. email_manager.py has proper try-except blocks and logging. Email failure does NOT block registration (logs error, returns 201 Created). Multiple provider support: Brevo API, Brevo SMTP, standard SMTP, mock mode.
⏱️ Az idő rögzítve.