private Boolean hasAdminPermission(ForumPost post) { ForumBoard board = boardService.GetById(post.ForumBoardId, ctx.owner.obj); IList adminCmds = PermissionUtil.GetTopicAdminCmds((User)ctx.viewer.obj, board, ctx); return(adminCmds.Count > 0); }