web: Add admin user management

This commit is contained in:
GonnaHetzMe committed 2026-12-04 16:49:05 +01:00
1 parent 232d48c7fc
commit fcf7cd0596
11 files changed
+410 -18

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ public static class UserRoles
public const string Management = "MANAGEMENT";
public const string Admin = "ADMIN";
public static IReadOnlyList<string> All { get; } = [Student, Teacher, FacilityManager, Management, Admin];
public static string DisplayName(string? role) => role switch
{
Student => "Student",