Package org.sete.web.form.project

Examples of org.sete.web.form.project.CreateProjectForm


            HttpServletRequest request, HttpServletResponse response)
            throws Exception {

        checkAuthorization(userHasPrivilege(request.getSession(), getPrivileges()));

        CreateProjectForm cpf = (CreateProjectForm) form;

    ScienceProjectService service = getService(ScienceProjectService.class);
    Boolean canUserEdit = service.isStudentInProject(this.getAuthenticatedUser(request).getUserId(), request.getParameter("projId"));
    this.checkAuthorization(canUserEdit || userHasPrivilege(request.getSession(), getAdminPrivileges()) );
   
View Full Code Here

TOP

Related Classes of org.sete.web.form.project.CreateProjectForm

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.