feat:(REQ-2524) 有saas_role_user_relation有记录,但是对应的saas_role不存在的情况
This commit is contained in:
parent
f0ea5340e4
commit
36ef8d048e
@ -555,6 +555,8 @@ public class TyrSaasAuthServiceImpl implements TyrSaasAuthService {
|
||||
} else {
|
||||
owRoleInfo.setRoles(owRoleIds.stream()
|
||||
.map(saasRoleRes::get)
|
||||
// 有saas_role_user_relation有记录,但是对应的saas_role不存在的情况
|
||||
.filter(Objects::nonNull)
|
||||
.collect(Collectors.toSet()));
|
||||
}
|
||||
owRoleMap.add(owRoleInfo);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user