Ejemplo n.º 1
0
        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);
        }