class UserManagementController extends AsyncAdaptor {

    @AsyncMethod
    @SecuredBySpring(value = "UserManagementController.viewAvailableAssessors() method",
            description = "Only comp admin and project finance can view active assessors")
    @PreAuthorize("hasAnyAuthority('comp_admin' , 'project_finance')")
    @GetMapping("/assessors/available")
    public String viewAvailableAssessors(Model model,
                                         UserResource user,
                                         @ModelAttribute(FORM_ATTR_NAME) UserManagementFilterForm filterForm,
                                         @RequestParam(defaultValue = DEFAULT_PAGE_NUMBER) int page,
                                         @RequestParam(defaultValue = DEFAULT_PAGE_SIZE) int size) {
        return viewAssessors(model, "available", filterForm.getFilter(), page, size);
    }

}