mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-06 14:15:50 +08:00
fix(auth): 修复权限维度合并逻辑,避免键冲突异常
This commit is contained in:
@@ -169,7 +169,10 @@ public class SimpleAuthentication implements Authentication {
|
||||
.stream()
|
||||
.collect(Collectors
|
||||
.groupingBy(d -> d.getType().getId(),
|
||||
Collectors.toMap(Dimension::getId, Function.identity())));
|
||||
Collectors.toMap(
|
||||
Dimension::getId,
|
||||
Function.identity(),
|
||||
(a, b) -> a)));
|
||||
}
|
||||
}
|
||||
return permissionMapping != null;
|
||||
|
||||
Reference in New Issue
Block a user