AddWSController { @AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.PROJECT, paramIndex = 1, userRole = { RoleNames.ROLE_COLLABORATOR_OWNER, RoleNames.ROLE_PROJ_COLLABORATOR_ADMIN, RoleNames.ROLE_PROJ_COLLABORATOR_CONTRIBUTOR }) }) @RequestMapping(value = "auth/workbench/{projectid}/workspace/add", method = RequestMethod.GET) public ModelAndView addWorkSpaceRequestForm(@PathVariable("projectid") String projectid) throws QuadrigaStorageException, QuadrigaAccessException { ModelAndView model; model = new ModelAndView("auth/workbench/workspace/addworkspace"); model.getModelMap().put("workspace", workspaceFactory.createWorkspaceObject()); model.getModelMap().put("wsprojectid", projectid); model.getModelMap().put("success", 0); return model; }  @AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.PROJECT, paramIndex = 1, userRole = { RoleNames.ROLE_COLLABORATOR_OWNER, RoleNames.ROLE_PROJ_COLLABORATOR_ADMIN, RoleNames.ROLE_PROJ_COLLABORATOR_CONTRIBUTOR }) }) @RequestMapping(value = "auth/workbench/{projectid}/workspace/add", method = RequestMethod.GET) ModelAndView addWorkSpaceRequestForm(@PathVariable("projectid") String projectid); @AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.PROJECT, paramIndex = 3, userRole = { RoleNames.ROLE_COLLABORATOR_OWNER, RoleNames.ROLE_PROJ_COLLABORATOR_ADMIN, RoleNames.ROLE_PROJ_COLLABORATOR_CONTRIBUTOR }) }) @RequestMapping(value = "auth/workbench/{projectid}/workspace/add", method = RequestMethod.POST) String addWorkSpaceRequest(@Validated @ModelAttribute("workspace") Workspace workspace,
            BindingResult result, @PathVariable("projectid") String projectid, Model model, Principal principal,
            RedirectAttributes redirectAttrs, Locale locale);  }
@Test @Ignore public void testAddWorkSpaceRequestForm() { fail("Not yet implemented"); }