Admin-Portal: Benutzerverwaltung (anlegen, Rollen, aktivieren/deaktivieren)
CI / backend-tests (push) Successful in 57s
CI / frontend-build (push) Successful in 7m16s

Backend-API existierte bereits (/benutzer, admin-only), war im Frontend
bisher nicht angebunden.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L85hmKbvX7Cqkq47KnQhFt
This commit is contained in:
2026-09-04 09:44:42 +02:00
co-authored by Claude Sonnet 5
parent 2c9ca3ed3e
commit 1987818b8c
3 changed files with 139 additions and 3 deletions
+11
View File
@@ -95,3 +95,14 @@ export interface Me {
login: string;
rollen: string[];
}
export type Rolle = "mitarbeiter" | "materialverantwortlicher" | "leitungsverantwortlicher" | "administration";
export interface Benutzer {
id: number;
name: string;
login: string;
email: string | null;
aktiv: boolean;
rollen: string[];
}