From 48728321d923c344937cf5e9c97131635ad0ed12 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Thu, 27 Jul 2017 16:44:08 +0200 Subject: [PATCH] Fix user level for request status --- static/src/app/services/login-service/login-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/src/app/services/login-service/login-service.ts b/static/src/app/services/login-service/login-service.ts index 3b0aaa7..6828bdc 100644 --- a/static/src/app/services/login-service/login-service.ts +++ b/static/src/app/services/login-service/login-service.ts @@ -25,7 +25,7 @@ export class LoginService { if (user && user.token) { // store user details and jwt token in local storage to keep user logged in between page refreshes localStorage.setItem('currentUser', JSON.stringify(user)); - if (user.permission >= 3) { + if (user.permission >= 2) { const fraction = user.squad.fraction; this.awardingService.checkUnprocessedAwards(fraction); this.promotionService.checkUnconfirmedPromotions(fraction);