非管理员不允许修改架构/pal打包
This commit is contained in:
parent
796db2b193
commit
ab5518fd8e
Binary file not shown.
@ -7991,13 +7991,15 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
methodObj.put("havingCreatePerm",true);
|
methodObj.put("havingCreatePerm",true);
|
||||||
}else if(category.equals("control")&&model.getSchema().contains("制度图")){
|
}else if(category.equals("control")&&model.getSchema().contains("制度图")){
|
||||||
methodObj.put("havingCreatePerm",false);
|
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);
|
methodObj.put("havingCreatePerm",false);
|
||||||
}*/ else{
|
} else{
|
||||||
methodObj.put("havingCreatePerm",PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, c, model.getId()));
|
methodObj.put("havingCreatePerm",PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, c, model.getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject icon = PALMethodManager.getInstance().getPALMethodIconById(model.getId());
|
JSONObject icon = PALMethodManager.getInstance().getPALMethodIconById(model.getId());
|
||||||
methodObj.put("icon", icon);
|
methodObj.put("icon", icon);
|
||||||
if (model.isFolder()) {
|
if (model.isFolder()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user