diff --git a/pom.xml b/pom.xml index 48f1995eb..5173364fa 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 manage - 1.4.7 + 1.4.8 UTF-8 1.8.0 diff --git a/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInStatusManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInStatusManagerImpl.java index 38e553741..2acc88797 100644 --- a/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInStatusManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInStatusManagerImpl.java @@ -135,7 +135,7 @@ public class SignInStatusManagerImpl implements SignInStatusManager { @Override public void managerAuthToClient(String managerStatusKey, String clientMoniker) { JSONObject manager = getCurrentManager(managerStatusKey); - if (manager != null && ManagerRole.ADMIN.hasRole(manager.getIntValue("role"))) { + if (manager != null && (ManagerRole.ADMIN.hasRole(manager.getIntValue("role")) || ManagerRole.OPERATOR.hasRole(manager.getIntValue("role")))) { String cacheKey = clientMockRedisKey(managerStatusKey); stringRedisTemplate.boundValueOps(cacheKey).set(clientMoniker, 30, TimeUnit.MINUTES); return;