class AcademicCostsController {

    @GetMapping
    @PreAuthorize("hasAnyAuthority('applicant', 'support', 'innovation_lead', 'ifs_administrator', 'comp_admin', 'project_finance', 'stakeholder')")
    @SecuredBySpring(value = "VIEW_ACADEMIC_COSTS", description = "Applicants and internal users can view the academic project costs page")
    public String viewAcademicCosts(Model model,
                                    UserResource user,
                                    @PathVariable long applicationId,
                                    @PathVariable long organisationId,
                                    @PathVariable long sectionId,
                                    @ModelAttribute("form") AcademicCostForm form) {
        formPopulator.populate(form, applicationId, organisationId);
        model.addAttribute("model", viewModelPopulator.populate(organisationId, applicationId, sectionId, !user.isInternalUser()));
        return VIEW;
    }

}