feat:(feature/REQ-2750) 角色树增加角色的所属单位,项目
This commit is contained in:
parent
1c2c1a1c86
commit
40773db347
@ -15,10 +15,17 @@ import java.util.Set;
|
||||
@AllArgsConstructor
|
||||
public class TreeRoleReq {
|
||||
|
||||
/**
|
||||
* 跟workspaceType一样的效果,以前不知道saasRole上的workspaceType跟其他的workspaceTypeCode是否是一个值
|
||||
*/
|
||||
private String workspaceTypeCode;
|
||||
|
||||
private Boolean needRole;
|
||||
|
||||
/**
|
||||
* 请使用workspaceTypeCode,已经不再使用
|
||||
*/
|
||||
@Deprecated
|
||||
private Integer workspaceType;
|
||||
|
||||
/**
|
||||
|
||||
@ -473,6 +473,8 @@ public class SaasRoleController implements TyrSaasRoleApi {
|
||||
.idStr(role.getId() + ":" + ROLE_TYPE)
|
||||
.isDisplay(role.getIsDisplay())
|
||||
.code(role.getRoleCode())
|
||||
.workspaceId(role.getWorkspaceId())
|
||||
.ouId(role.getOwnerOuId())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user