Package org.apache.roller.ui.authoring.struts.formbeans

Examples of org.apache.roller.ui.authoring.struts.formbeans.MemberPermissionsForm


        request.setAttribute("model", pageModel);
        RollerSession rses = RollerSession.getRollerSession(request);
       
        // Ensure use has admin perms for this weblog
        if (pageModel.getWebsite() != null && rses.isUserAuthorizedToAdmin(pageModel.getWebsite())) {
            MemberPermissionsForm form = (MemberPermissionsForm)actionForm;
            form.setWebsiteId(pageModel.getWebsite().getId());
            ActionForward forward = mapping.findForward("memberPermissions.page");
            return forward;
        } else {
            return mapping.findForward("access-denied");
        }
View Full Code Here


        request.setAttribute("model", pageModel);
        RollerSession rses = RollerSession.getRollerSession(request);
       
        // Ensure use has admin perms for this weblog
        if (pageModel.getWebsite() != null && rses.isUserAuthorizedToAdmin(pageModel.getWebsite())) {
            MemberPermissionsForm form = (MemberPermissionsForm)actionForm;
            form.setWebsiteId(pageModel.getWebsite().getId());
            ActionForward forward = mapping.findForward("memberPermissions.page");
            return forward;
        } else {
            return mapping.findForward("access-denied");
        }
View Full Code Here

TOP

Related Classes of org.apache.roller.ui.authoring.struts.formbeans.MemberPermissionsForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.