From b149f5bea9330ac231619f0c5885150880edc636 Mon Sep 17 00:00:00 2001 From: rekoe Date: Sun, 27 Mar 2016 14:48:47 +0800 Subject: [PATCH] fix --- .../java/com/rekoe/module/admin/AdminSvnUserAct.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/rekoe/module/admin/AdminSvnUserAct.java b/src/main/java/com/rekoe/module/admin/AdminSvnUserAct.java index 7101aa7..58ed2d7 100644 --- a/src/main/java/com/rekoe/module/admin/AdminSvnUserAct.java +++ b/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());