summaryrefslogtreecommitdiffstats
path: root/src/app/guards/has-permissions.guard.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/guards/has-permissions.guard.ts')
-rw-r--r--src/app/guards/has-permissions.guard.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/guards/has-permissions.guard.ts b/src/app/guards/has-permissions.guard.ts
index cc04673..1731a33 100644
--- a/src/app/guards/has-permissions.guard.ts
+++ b/src/app/guards/has-permissions.guard.ts
@@ -18,7 +18,7 @@
import { Inject, Injectable } from '@angular/core';
-import { ActivatedRouteSnapshot, CanActivate, Router, UrlTree } from '@angular/router';
+import { ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router';
import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
import { ACL_CONFIG, AclConfig } from '../modules/auth/injection-tokens';
@@ -29,7 +29,7 @@ import { map } from 'rxjs/operators';
@Injectable({
providedIn: 'root',
})
-export class HasPermissionsGuard implements CanActivate {
+export class HasPermissionsGuard {
constructor(
private readonly authService: AuthService,
private readonly httpClient: HttpClient,