diff options
Diffstat (limited to 'client/src/app/core/auth/auth-user.model.ts')
-rw-r--r-- | client/src/app/core/auth/auth-user.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/auth/auth-user.model.ts b/client/src/app/core/auth/auth-user.model.ts index 085b763ec..7b6c8816f 100644 --- a/client/src/app/core/auth/auth-user.model.ts +++ b/client/src/app/core/auth/auth-user.model.ts | |||
@@ -123,7 +123,7 @@ export class AuthUser extends User { | |||
123 | this.tokens.refreshToken = refreshToken | 123 | this.tokens.refreshToken = refreshToken |
124 | } | 124 | } |
125 | 125 | ||
126 | hasRight(right: UserRight) { | 126 | hasRight (right: UserRight) { |
127 | return hasUserRight(this.role, right) | 127 | return hasUserRight(this.role, right) |
128 | } | 128 | } |
129 | 129 | ||