Explorar el Código

去除系统预设权限组不可修改判断

hu hace 3 años
padre
commit
6b8fa8fea3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/custom/restcontroller/webmanage/role/role.java

+ 1 - 1
src/custom/restcontroller/webmanage/role/role.java

@@ -126,7 +126,7 @@ public class role extends Controller {
             content.put("roleid", roleid);
         } else {
             if (dbConnect.runSqlQuery("select * from sys_role where issystem=1 and roleid=" + roleid).isNotEmpty()) {
-                return getErrReturnObject().setErrMsg("系统预设权限组不可修改").toString();
+                //return getErrReturnObject().setErrMsg("系统预设权限组不可修改").toString();
             }
             sqlFactory = new SQLFactory(this, "角色修改");
             sqlFactory.addParameter("roleid", roleid);