Browse Source

fix

pull/3/head
rekoe 9 years ago
parent
commit
b149f5bea9
  1. 10
      src/main/java/com/rekoe/module/admin/AdminSvnUserAct.java

10
src/main/java/com/rekoe/module/admin/AdminSvnUserAct.java

@ -24,23 +24,23 @@ public class AdminSvnUserAct extends BaseAction {
private SvnUserService svnUserService;
@At
@Ok("fm:template.admin.project_group.list")
@RequiresPermissions({ "project.group:view" })
@Ok("fm:template.admin.svn_user.list")
@RequiresPermissions({ "svn.user:view" })
@PermissionTag(name = "SVN浏览账号", tag = "SVN账号管理")
public Pagination list(@Param(value = "pageNumber", df = "1") int page) {
return svnUserService.getObjListByPager(page, 20, null);
}
@At
@Ok("fm:template.admin.project_user.add")
@RequiresPermissions({ "project.group:add" })
@Ok("fm:template.admin.svn_user.add")
@RequiresPermissions({ "svn.user:add" })
@PermissionTag(name = "SVN添加账号", tag = "SVN账号管理", enable = true)
public void add() {
}
@At
@Ok("json")
@RequiresPermissions("project.group:add")
@RequiresPermissions("svn.user:add")
@PermissionTag(name = "SVN添加账号", tag = "SVN账号管理", enable = false)
public Message o_save(@Param("::user.") Usr user, HttpServletRequest req) {
boolean isOk = svnUserService.nameOk(user.getUsr());

Loading…
Cancel
Save