add permission logic to nav bar.

This commit is contained in:
tiago.kayaya
2022-03-28 15:46:07 +01:00
parent ecdb4338f1
commit 420b203c0c
24 changed files with 130 additions and 109 deletions
+6
View File
@@ -0,0 +1,6 @@
export class PermissionList{
Agenda = 530;
Gabinete = 531;
Actions = 534;
Chat = 541;
}
+7 -5
View File
@@ -2,12 +2,12 @@ export class UserForm {
username: string;
password: string;
domainName: string;
BasicAuthKey: string;
BasicAuthKey: string;
}
export class LoginUserRespose {
BasicAuthKey: string;
BasicAuthKey: string;
UserId: number;
Authorization: string;
Email: string
@@ -30,11 +30,12 @@ export class LoginUserRespose {
}[]
UserName: string
Profile: any;
UserPermissions: any;
}
export class UserSession {
BasicAuthKey: string;
BasicAuthKey: string;
UserId: number;
Authorization: string;
Email: string
@@ -63,5 +64,6 @@ export class UserSession {
LoginPreference: 'None' | 'Password' | 'Pin' | null;
PIN: string
Inactivity: boolean
UrlBeforeInactivity: string
}
UrlBeforeInactivity: string;
UserPermissions: any;
}