获取角色列表剔除隐藏角色

This commit is contained in:
anhc 2022-07-04 22:12:07 +08:00
parent ca89f1a428
commit 8d953fc8d6

View File

@ -656,7 +656,7 @@ public class CooperationWeb extends ActionWeb {
"" : role.getRoleType() == CoeCooperationConst.ROLE_TYPE_VISITOR ?
"" : "");
//新版权限隐藏隐式用户角色
if (!isOlderVersion && role.getIsUser() == 1){
if (role.getIsUser() == 1){
continue;
}
dtoList.add(dto);