feat(personal): PERS-004 Einsatzfunktionen (Gruppenführer/Melder/...)
CI / backend-tests (push) Successful in 2m17s
CI / frontend-build (push) Successful in 26s

Neue Stammdaten-Tabelle einsatzfunktion (Migration 0031), benutzer bekommt
optionales einsatzfunktion_id-Feld - analog zu einheit_id modelliert, eine
Person hat im Regelfall genau eine primäre Einsatzfunktion. Bewusst
getrennt von den technischen App-Rollen (RolleTyp), die nur steuern, was
jemand in MABEA tun darf, nicht welche Funktion er im Einsatz hat.

CRUD-Endpunkt /einsatzfunktionen nach Kategorie-Muster, Duplikat-Prüfung
vorab (Projekt-Konvention). Admin-UI: Auswahl + Inline-Neuanlage in der
Benutzerverwaltung (BenutzerSection).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
This commit is contained in:
2026-09-08 20:07:16 +02:00
co-authored by Claude Sonnet 5
parent b7d9581b90
commit 15f783fb5e
12 changed files with 228 additions and 7 deletions
+9
View File
@@ -26,6 +26,15 @@ class EinheitUpdate(BaseModel):
standort_id: int | None = None
class EinsatzfunktionCreate(BaseModel):
name: str
class EinsatzfunktionRead(EinsatzfunktionCreate):
model_config = ConfigDict(from_attributes=True)
id: int
class QualifikationstypCreate(BaseModel):
name: str
kategorie: Qualifikationskategorie