From a7b3e33adae94df31a0bfd5a87403d471344414f Mon Sep 17 00:00:00 2001 From: kira <164851225@qq.com> Date: Thu, 12 Jul 2018 10:39:18 +0800 Subject: [PATCH] update --- .../permission/manager/ManagerUserInterceptor.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/permission/manager/ManagerUserInterceptor.java b/src/main/java/au/com/royalpay/payment/manage/permission/manager/ManagerUserInterceptor.java index 644449dcd..124ffe67c 100644 --- a/src/main/java/au/com/royalpay/payment/manage/permission/manager/ManagerUserInterceptor.java +++ b/src/main/java/au/com/royalpay/payment/manage/permission/manager/ManagerUserInterceptor.java @@ -104,13 +104,13 @@ public class ManagerUserInterceptor extends HandlerInterceptorAdapter implements } } - JSONObject func = permissionPartnerManager.getPartnerFuncById(funcId); - if(func!=null && StringUtils.isNotEmpty(func.getString("module_id"))){ - JSONArray arr = loginUser.getJSONArray("available_module_ids"); - if (arr == null || !arr.contains(func.getString("module_id"))) { - throw new ForbiddenException("error.permission.nopermission"); - } - } +// JSONObject func = permissionPartnerManager.getPartnerFuncById(funcId); +// if(func!=null && StringUtils.isNotEmpty(func.getString("module_id"))){ +// JSONArray arr = loginUser.getJSONArray("available_module_ids"); +// if (arr == null || !arr.contains(func.getString("module_id"))) { +// throw new ForbiddenException("error.permission.nopermission"); +// } +// } request.setAttribute(CommonConsts.PARTNER_STATUS, loginUser); }