diff --git a/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar b/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar index 828c33e0..4035b812 100644 Binary files a/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar and b/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar differ diff --git a/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java b/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java index f123b265..dd8c70f9 100644 --- a/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java +++ b/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java @@ -644,6 +644,7 @@ public class CooperationWeb extends ActionWeb { } List dtoList = new ArrayList<>(); List list = api.queryCooperationRoleList(teamId); + boolean isOlderVersion = SDK.getAppAPI().getPropertyBooleanValue("com.actionsoft.apps.coe.pal", "IsOlderVersion", true); for (CoeCooperationRoleModel role : list) { CooperationRoleDto dto = new CooperationRoleDto(); dto.setRoleId(role.getId()); @@ -654,11 +655,16 @@ public class CooperationWeb extends ActionWeb { "" : role.getRoleType() == CoeCooperationConst.ROLE_TYPE_DESIGNER ? "" : role.getRoleType() == CoeCooperationConst.ROLE_TYPE_VISITOR ? "" : ""); + //新版权限隐藏隐式用户角色 + if (!isOlderVersion && role.getIsUser() == 1){ + continue; + } dtoList.add(dto); } ResponseObject ro = ResponseObject.newOkResponse(); ro.put("roleData", JSON.toJSON(dtoList)); ro.put("roleIds", roleIds); + ro.put("isOlderVersion", isOlderVersion); return ro.toString(); }