diff --git a/JavaSource/org/unitime/timetable/server/sectioning/SectioningReportsExporter.java b/JavaSource/org/unitime/timetable/server/sectioning/SectioningReportsExporter.java index 794e6d862a..3d6d4d5cd1 100644 --- a/JavaSource/org/unitime/timetable/server/sectioning/SectioningReportsExporter.java +++ b/JavaSource/org/unitime/timetable/server/sectioning/SectioningReportsExporter.java @@ -95,7 +95,8 @@ public void export(ExportHelper helper) throws IOException { SessionContext context = helper.getSessionContext(); DataProperties config = null; if (online == null) { - context.checkPermissionAnyAuthority(sessionId, "Session", Right.StudentScheduling); + if (!context.hasPermission(Right.StudentSectioningSolverReports)) + context.checkPermission(Right.StudentSectioningSolver); StudentSolverProxy solver = studentSectioningSolverService.getSolver("PUBLISHED_" + sessionId, sessionId); if (solver == null) @@ -125,7 +126,8 @@ public void export(ExportHelper helper) throws IOException { csv = solver.getReport(parameters); } else { - context.checkPermissionAnyAuthority(sessionId, "Session", Right.StudentSectioningSolver); + if (!context.hasPermissionAnyAuthority(sessionId, "Session", Right.StudentSectioningSolverReports)) + context.checkPermissionAnyAuthority(sessionId, "Session", Right.StudentSectioningSolver); StudentSolverProxy solver = studentSectioningSolverService.getSolver(); if (solver == null) diff --git a/WebContent/help/Release-Notes.xml b/WebContent/help/Release-Notes.xml index c99fc6fd0b..e7af3c2d7e 100644 --- a/WebContent/help/Release-Notes.xml +++ b/WebContent/help/Release-Notes.xml @@ -28,6 +28,19 @@ 4.7.${build.number} ${build.date} + + Student Scheduling + + Batch Student Solver Reports: Export CSV + + Corrected permission checking for the published student scheduling solver. + + + + + + 4.7.109 + Fri, 26 Jan 2024 Course Timetabling