Neue Rolle: Mitarbeiter mit Einladungs-Workflow (Rolle User entfaellt) #7
Loading…
Reference in a new issue
No description provided.
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?
Ziel
Einfuehrung der Rolle Mitarbeiter. Die Rolle User entfaellt vollstaendig.
Rollensystem: Public → Mitarbeiter → Admin.
Rollenmatrix (neu)
Einladungs-Workflow
Backend
meshbot/database.py
meshbot/auth.py
meshbot/webserver.py
Frontend
static/js/app.js
static/admin.html + admin.js
static/js/login.js
Neue Seite: static/change-password.html + change-password.js
Scheduler/NINA/Einstellungen
Betroffene Dateien
Neue Rolle: Mitarbeiter mit Einladungs-Workflowto Neue Rolle: Mitarbeiter mit Einladungs-Workflow (Rolle User entfaellt)Implementiert in v0.08.26:
Backend
must_change_password-Spalte,role=user→role=mitarbeiterrequire_staff_api(): erlaubt mitarbeiter + adminPOST /api/admin/invite: auto-generiertes Passwort,must_change_password=1, EinladungsmailPOST /auth/change-password+GET /auth/change-passwordforce_password_change-Flagmitarbeiter/adminaktualisiertFrontend
sidebar-staff-Klasse für Scheduler/NINA/Einstellungen (Mitarbeiter+Admin sichtbar)/auth/change-passwordwennforce_password_change=true/auth/change-password