非管理员不允许修改架构/pal打包

This commit is contained in:
zhal 2022-10-27 19:21:47 +08:00
parent 796db2b193
commit ab5518fd8e
2 changed files with 4 additions and 2 deletions

View File

@ -7991,13 +7991,15 @@ public class CoeProcessLevelWeb extends ActionWeb {
methodObj.put("havingCreatePerm",true);
}else if(category.equals("control")&&model.getSchema().contains("制度图")){
methodObj.put("havingCreatePerm",false);
}/*else if(category.equals("data")&&model.getSchema().contains("表单图")){
}else if(model.getId().equals("process.framework")&& !_uc.getUID().equals("admin")){
methodObj.put("havingCreatePerm",false);
}*/ else{
} else{
methodObj.put("havingCreatePerm",PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, c, model.getId()));
}
JSONObject icon = PALMethodManager.getInstance().getPALMethodIconById(model.getId());
methodObj.put("icon", icon);
if (model.isFolder()) {