修复权限问题
This commit is contained in:
1 parent
26fe9834cb
commit
7fb7feea3f
12 files changed
+231
-73
No files matched your search
+1
-1
@@ -58,7 +58,7 @@ public class PjcloudDefaultDataScopeHandle implements DataScopeHandle {
|
||||
public Boolean calcScope(DataScope dataScope) {
|
||||
// 对于TOC客户端,不进行数据权限校验
|
||||
PjcloudUser user = SecurityUtils.getUser();
|
||||
if (UserTypeEnum.TOC.getStatus().equals(user.getUserType())) {
|
||||
if (user != null && UserTypeEnum.TOC.getStatus().equals(user.getUserType())) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user