Admin-Portal: Benutzerverwaltung (anlegen, Rollen, aktivieren/deaktivieren)
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:
@@ -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[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user