improve envarionment

This commit is contained in:
Peter Maquiran
2023-01-25 15:06:19 +01:00
parent f445050821
commit 891c44d674
14 changed files with 182 additions and 111 deletions
+8 -1
View File
@@ -18,7 +18,14 @@ export class PermissionService {
args = [args]
}
return args.includes(this.SessionStore.user.Profile)
for(const arg of args) {
if(arg == this.SessionStore.user.Profile) {
return true
}
}
return false
}
userPermission(args) {