|
|
@@ -163,8 +163,8 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(!tenantId.equals(buser.getTenantId()) |
|
|
if(!tenantId.equals(buser.getTenantId()) |
|
|
|| !buser.getTenantId().equals(parenTenantId) |
|
|
|
|
|
|| !tenantId.equals(buser.getParentTenantId())){ |
|
|
|
|
|
|
|
|
&& !buser.getTenantId().equals(parenTenantId) |
|
|
|
|
|
&& !tenantId.equals(buser.getParentTenantId())){ |
|
|
throw new MallinkException(ErrorCode.SYS_AUTH_ERROR); |
|
|
throw new MallinkException(ErrorCode.SYS_AUTH_ERROR); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|