From a899eae792897cb014b9291562f32f5786cfb1f4 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 16 一月 2025 15:51:13 +0800 Subject: [PATCH] UI授权后,由于一个用户拥有多个角色问题,没有权限的角色可能会把有权限的角色数据替换,进行修改 --- Source/Service/ServiceBase/src/com/vci/server/mw/ServerContextInterceptor.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Service/ServiceBase/src/com/vci/server/mw/ServerContextInterceptor.java b/Source/Service/ServiceBase/src/com/vci/server/mw/ServerContextInterceptor.java index 3ee3573..5e68c54 100644 --- a/Source/Service/ServiceBase/src/com/vci/server/mw/ServerContextInterceptor.java +++ b/Source/Service/ServiceBase/src/com/vci/server/mw/ServerContextInterceptor.java @@ -50,9 +50,9 @@ String op = current.operation; -// if (_lstOP.contains(op)) { -// return _servant.ice_dispatch(request); -// } + if (_lstOP.contains(op)) { + return _servant.ice_dispatch(request); + } String serviceName = ""; if (_servant instanceof BaseService) { -- Gitblit v1.9.3