feat(repairs): add status timeline and public link preparation

This commit is contained in:
Schubert Ferenc 2026-07-04 12:25:06 +02:00
parent e9ec207617
commit 09cce1f2b6
22 changed files with 1027 additions and 28 deletions

View file

@ -83,6 +83,7 @@ STANDARD_PERMISSIONS = [
("repairs.status.update", "Reparaturstatus ändern", "Status von Reparaturen ändern", "repairs"),
("repairs.intake", "Reparatur-Intake", "Website-Reparaturanfragen übernehmen", "repairs"),
("repairs.assign", "Reparaturen zuweisen", "Reparaturen Benutzern zuweisen", "repairs"),
("repairs.public_link.manage", "Reparatur-Statuslinks verwalten", "Öffentliche Statuslinks für Reparaturen verwalten", "repairs"),
]
ROLE_PERMISSION_NAMES = {
@ -99,6 +100,7 @@ ROLE_PERMISSION_NAMES = {
"repairs.create",
"repairs.update",
"repairs.status.update",
"repairs.public_link.manage",
},
"sales": {
"dashboard.read",
@ -137,6 +139,7 @@ ROLE_PERMISSION_NAMES = {
"repairs.update",
"repairs.status.update",
"repairs.intake",
"repairs.public_link.manage",
},
"warehouse": {
"dashboard.read",