@JsonView(AllViews.TableRow.class) @RequestMapping(value = "/table/open", method = RequestMethod.POST) public Object openTableVulnList( @PathVariable("orgId") Integer orgId, @PathVariable("appId") Integer appId, @ModelAttribute VulnerabilityCollectionModel vulnerabilityCollectionModel, @ModelAttribute TableSortBean bean, Model model) throws IOException { if (!PermissionUtils.isAuthorized(Permission.CAN_MODIFY_VULNERABILITIES, orgId, appId)) { return RestResponse.failure("You are not authorized to modify vulnerabilities."); } if (!checkCollectionModel(vulnerabilityCollectionModel, model)) { return RestResponse.failure("Couldn't complete bulk vulnerability operation."); } vulnerabilityService.openAll(vulnerabilityCollectionModel.getVulnerabilityIds()); return tableMap(orgId, appId, bean); }