Merge remote-tracking branch 'origin/apps_dev' into apps_dev
This commit is contained in:
commit
76134d5b14
Binary file not shown.
@ -8359,6 +8359,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
// 新增的架构或者文件夹 自动加权 遍历所有小组 判断父级文件夹/架构是否在该小组下是否有权限
|
||||
new Thread(() -> {
|
||||
if (UtilString.isNotEmpty(parentId) && parentId.length() == 36){
|
||||
List<TeamInfo> allTeamInfo = CoeCooperationAPIManager.getInstance().getAllTeamInfo();
|
||||
allTeamInfo.parallelStream().forEach(teamInfo -> {
|
||||
@ -8368,6 +8369,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
});
|
||||
}
|
||||
}).start();
|
||||
|
||||
// 操作行为日志记录
|
||||
if (SDK.getAppAPI().getPropertyBooleanValue(CoEConstant.APP_ID, "IS_RECORD_OP_LOG", false)) {
|
||||
@ -8467,6 +8469,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
// 新增的架构或者文件夹 自动加权 遍历所有小组 判断父级文件夹/架构是否在该小组下是否有权限
|
||||
new Thread(() -> {
|
||||
if (UtilString.isNotEmpty(parentId) && parentId.length() == 36){
|
||||
List<TeamInfo> allTeamInfo = CoeCooperationAPIManager.getInstance().getAllTeamInfo();
|
||||
allTeamInfo.parallelStream().forEach(teamInfo -> {
|
||||
@ -8476,6 +8479,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
});
|
||||
}
|
||||
}).start();
|
||||
|
||||
ro.put("id", id);
|
||||
// 操作行为日志记录
|
||||
@ -8624,6 +8628,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
// 新增的架构或者文件夹 自动加权 遍历所有小组 判断父级文件夹/架构是否在该小组下是否有权限
|
||||
new Thread(() -> {
|
||||
if (UtilString.isNotEmpty(parentId) && parentId.length() == 36){
|
||||
List<TeamInfo> allTeamInfo = CoeCooperationAPIManager.getInstance().getAllTeamInfo();
|
||||
allTeamInfo.parallelStream().forEach(teamInfo -> {
|
||||
@ -8633,6 +8638,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
});
|
||||
}
|
||||
}).start();
|
||||
|
||||
ro.put("id", id);
|
||||
// 操作行为日志记录
|
||||
@ -11036,6 +11042,7 @@ public String deleteReply(String replyid, String messageid) {
|
||||
}
|
||||
|
||||
// 移动的文件/文件夹/架构 只要有一个在当前小组数据权限中 则 目标文件/文件夹/架构及所有直接父级都放入小组权限中
|
||||
new Thread(() -> {
|
||||
List<TeamInfo> allTeamInfo = CoeCooperationAPIManager.getInstance().getAllTeamInfo();
|
||||
allTeamInfo.parallelStream().forEach(teamInfo -> {
|
||||
boolean isPerm = teamInfo.getVersionIds().stream().anyMatch(verId -> sourceList.stream().anyMatch(palRepositoryModel -> palRepositoryModel.getVersionId().equals(verId)));
|
||||
@ -11048,6 +11055,7 @@ public String deleteReply(String replyid, String messageid) {
|
||||
CoeCooperationAPIManager.getInstance().addPermDataToTeamAndRoleBatch(teamInfo.getTeamId(), toBeInsertPermIds);
|
||||
}
|
||||
});
|
||||
}).start();
|
||||
|
||||
/**
|
||||
* by bzp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user