fix roles

This commit is contained in:
john 2025-06-15 19:32:56 +02:00
parent a070b30def
commit 55fb78ee98
2 changed files with 6 additions and 3 deletions

View file

@ -10,7 +10,10 @@ export interface User {
roles: Role[]
}
type Role = 'User' | 'SuperUser'
export enum Role {
User = 0,
SuperUser = 1,
}
let globalUser: User | null