web: Add admin user management
This commit is contained in:
1 parent
232d48c7fc
commit
fcf7cd0596
11 files changed
+410
-18
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user