fix publication

This commit is contained in:
Peter Maquiran
2023-02-27 19:52:30 +01:00
parent 75e6a62695
commit d289f377b5
12 changed files with 44 additions and 41 deletions
+3
View File
@@ -193,6 +193,9 @@ export class HomePage implements OnInit {
if (this.p.userPermission([this.p.permissionList.Gabinete.pr_tasks]) && SessionStore.user.RoleID != this.RoleIdService.PRES) {
throw ('User has PRES permission but not roleId');
}
if (!this.p.userPermission([this.p.permissionList.Gabinete.pr_tasks]) && SessionStore.user.RoleID == this.RoleIdService.PRES) {
throw ('User has PRES permission but not roleId');
}
}, 1000)
}