CI / backend-tests (push) Failing after 0s
- ORM-Modelle: Bereich, Kategorie, Standort, Objekttyp, Material (Prompt 06/07),
minimales Objekt-Modell (voll ausgebaut erst Sprint 2), Zustaendigkeit/
Kontrollverantwortung
- Admin-API 7a: GET/POST Stammdaten-Endpunkte, PATCH Material, Benutzerverwaltung
(anlegen/Rollen ändern), Zuständigkeits-/Kontrollverantwortungs-CRUD
- Vererbungslogik E2 als eigener Service (app/services/zustaendigkeit.py):
Standort-Zuordnung vererbt sich auf alle Objekte, Objekt-Zeile ist Vereinigung
statt Ersatz - GET /zustaendigkeiten/benutzer/{id}/objekte exponiert das
- Tests: Stammdaten-CRUD + Rollenrechte, Benutzerverwaltung (inkl. 409 bei
Login-Duplikat), E2-Vererbungslogik (Standort-only, Standort+Objekt-Vereinigung,
End-to-End über den Endpunkt)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L85hmKbvX7Cqkq47KnQhFt
23 lines
601 B
Python
23 lines
601 B
Python
from app.models.auth import Benutzer, BenutzerRolle, RolleTyp, Systemknoten, KnotenTyp
|
|
from app.models.objekt import Objekt, ObjektStatus
|
|
from app.models.stammdaten import Bereich, Kategorie, Material, MaterialTyp, Objekttyp, Standort
|
|
from app.models.zustaendigkeit import Kontrollverantwortung, Zustaendigkeit
|
|
|
|
__all__ = [
|
|
"Benutzer",
|
|
"BenutzerRolle",
|
|
"RolleTyp",
|
|
"Systemknoten",
|
|
"KnotenTyp",
|
|
"Objekt",
|
|
"ObjektStatus",
|
|
"Bereich",
|
|
"Kategorie",
|
|
"Material",
|
|
"MaterialTyp",
|
|
"Objekttyp",
|
|
"Standort",
|
|
"Kontrollverantwortung",
|
|
"Zustaendigkeit",
|
|
]
|