194. Getting current user role (#29)
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import {Role} from "../enum/role.enum";
|
||||
|
||||
export class User {
|
||||
userId: string;
|
||||
firstName: string;
|
||||
@ -7,7 +9,7 @@ export class User {
|
||||
profileImageUrl: string;
|
||||
lastLoginDateDisplay: Date;
|
||||
joinDate: Date;
|
||||
role: string; //ROLE_USER, ROLE_ADMIN
|
||||
role: Role; //ROLE_USER, ROLE_ADMIN
|
||||
authorities: string[];
|
||||
active: boolean;
|
||||
notLocked: boolean;
|
||||
|
||||
Reference in New Issue
Block a user