refactor(permission-check): 优化日志+1

This commit is contained in:
zhansihu 2023-11-03 10:09:30 +08:00
parent f240176451
commit 3872f8cd00

View File

@ -126,8 +126,7 @@ public class SaasRoleVO {
}
}
log.info("+======permissionPoint: {}", permissionPoint);
return new ArrayList<>((Collection) permissionPoint);
return new ArrayList<>(permissionPoint);
}
private boolean match(boolean isMatch, Set<PermissionPointTreeNode> source, Collection<PermissionPointTreeNode> target, Long scopeId, Long workspaceId) {
@ -138,6 +137,7 @@ public class SaasRoleVO {
source.addAll(target);
return true;
}
log.warn("------trace-L-I-F-P----> not match permission scope:{}", scopeId);
return false;
}
}