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());