return mapping.findForward("access-denied");
}
BasePageModel pageModel = new BasePageModel(
"inviteMember.title", request, response, mapping);
RollerSession rses = RollerSession.getRollerSession(request);
// Ensure use has admin perms for this weblog
if (pageModel.getWebsite() != null && rses.isUserAuthorizedToAdmin(pageModel.getWebsite())) {
request.setAttribute("model", pageModel);
InviteMemberForm form = (InviteMemberForm)actionForm;
form.setWebsiteId(pageModel.getWebsite().getId());
ActionForward forward = mapping.findForward("inviteMember.page");
return forward;