Merge remote-tracking branch 'origin/feature/REQ-1650' into feature/REQ-1650
This commit is contained in:
commit
1a8cdc41ee
@ -57,7 +57,7 @@ public class IdentityAuthReq {
|
||||
private Set<String> featureCode = new HashSet<>();
|
||||
|
||||
/** 指定角色ID - 预览用,不需要用户已配置角色 **/
|
||||
private List<Long> specifyRoleIds;
|
||||
private Set<Long> specifyRoleIds;
|
||||
|
||||
|
||||
@Data
|
||||
|
||||
@ -329,6 +329,8 @@ public class TyrSaasAuthServiceImpl implements TyrSaasAuthService {
|
||||
relation.setWorkspaceId(k.getWorkspaceId());
|
||||
relation.setIdentityId(identityAuthReq.getIdentityId());
|
||||
relation.setIdentityType(identityAuthReq.getIdentityType().getCode());
|
||||
// 使用角色ID替代,不需要在查询一次
|
||||
relation.setId(id);
|
||||
return relation;
|
||||
}).collect(Collectors.toList());
|
||||
saasRoleUserRelations.addAll(relations);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user