refactor(permission-check): 优化日志+1
This commit is contained in:
parent
f240176451
commit
3872f8cd00
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user