Add login button to header

This commit is contained in:
stijn committed 2025-07-04 21:14:45 +02:00
1 parent ebe66c87c0
commit 73916f0aae
5 files changed
+85 -7

No files matched your search

@@ -112,4 +112,8 @@ export class AuthService {
const claims = this.userClaimsSubject.getValue();
return claims?.authorizations || [];
}
public hasAccess(authorization: string[]): boolean {
return this.getUserAuthorizations().filter(entry => authorization.includes(entry)).length > 0;
}
}