feat(admin): wire Admin Users management (A9)

User list with create dialog, role toggle, (de)activate, and reset-password;
self-lockout guard. Adds getUser/resetPassword endpoints, an isActive field on
the User type, and en/ru strings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Цвылев Александр Вадимович
2026-07-28 20:40:36 +03:00
parent 57044dabba
commit 28d9e59e34
6 changed files with 557 additions and 8 deletions
+1
View File
@@ -181,6 +181,7 @@ export interface User {
username: string;
email?: string;
role: 'admin' | 'user';
isActive: boolean;
createdAt: string;
lastActiveAt?: string;
}