feat(tenancy): add profile editing in merchant team edit modal
Some checks failed
CI / ruff (push) Successful in 16s
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / pytest (push) Has been cancelled

Edit modal now has editable first_name, last_name, email fields with
a "Save Profile" button, alongside the existing per-store role management.

New:
- PUT /merchants/account/team/members/{user_id}/profile endpoint
- MerchantTeamProfileUpdate schema
- update_team_member_profile() service method with ownership validation
- 2 new i18n keys across 4 locales (personal_info, save_profile)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 13:31:23 +02:00
parent 211c46ebbc
commit 157b4c6ec3
9 changed files with 147 additions and 15 deletions

View File

@@ -50,6 +50,8 @@
"stores_and_roles": "Filialen & Rollen",
"title": "Team",
"total_members": "Mitglieder gesamt",
"personal_info": "Persönliche Informationen",
"save_profile": "Profil speichern",
"view_member": "Mitglied anzeigen",
"account_information": "Kontoinformationen",
"username": "Benutzername",

View File

@@ -50,6 +50,8 @@
"stores_and_roles": "Stores & Roles",
"title": "Team",
"total_members": "Total Members",
"personal_info": "Personal Information",
"save_profile": "Save Profile",
"view_member": "View Member",
"account_information": "Account Information",
"username": "Username",

View File

@@ -50,6 +50,8 @@
"stores_and_roles": "Magasins et rôles",
"title": "Équipe",
"total_members": "Membres totaux",
"personal_info": "Informations personnelles",
"save_profile": "Enregistrer le profil",
"view_member": "Voir le membre",
"account_information": "Informations du compte",
"username": "Nom d'utilisateur",

View File

@@ -50,6 +50,8 @@
"stores_and_roles": "Geschäfter & Rollen",
"title": "Team",
"total_members": "Memberen total",
"personal_info": "Perséinlech Informatiounen",
"save_profile": "Profil späicheren",
"view_member": "Member kucken",
"account_information": "Konto Informatiounen",
"username": "Benotzernumm",