Users
This commit is contained in:
1 parent
2b2624c9c2
commit
93743bdc8e
27 files changed
+171
-133
No files matched your search
@@ -0,0 +1,19 @@
|
||||
export class User {
|
||||
id: string;
|
||||
name: string;
|
||||
password: string;
|
||||
lockedOut: boolean;
|
||||
roles: UserRole[];
|
||||
perms: string[];
|
||||
isAuthenticated: boolean;
|
||||
|
||||
public constructor(init?: Partial<User>) {
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
export class UserRole {
|
||||
id: string;
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
}
|
||||
Reference in new issue
Block a user