@@ -193,6 +193,9 @@ public class SubmissionController {
193193 @ Value ("${app.documentType.rename:}" )
194194 private String documentTypesToRename ;
195195
196+ @ Value ("${app.secondaryDelimiter:|}" )
197+ private String secondaryDelimiter ;
198+
196199 @ RequestMapping ("/all" )
197200 @ PreAuthorize ("hasRole('ADMIN')" )
198201 public ApiResponse getAll () {
@@ -597,7 +600,7 @@ private void processBatchExport(
597600
598601 // Stream data rows
599602 for (Submission submission : submissions ) {
600- ExportPackage exportPackage = packagerUtility .packageExport (packager , submission , columns );
603+ ExportPackage exportPackage = packagerUtility .packageExport (packager , submission , columns , secondaryDelimiter );
601604 if (exportPackage .isMap ()) {
602605 Map <String , String > rowData = (Map <String , String >) exportPackage .getPayload ();
603606 Row row = worksheet .createRow (rowCount ++);
@@ -1101,7 +1104,7 @@ public ApiResponse removeFile(@WeaverUser User user, @PathVariable Long submissi
11011104 if (user .getRole ().equals (Role .ROLE_STUDENT ) && documentType .equals ("_doctype_license" )) {
11021105 apiResponse = new ApiResponse (ERROR , "You are not allowed to delete license files!" );
11031106 } else {
1104- if (user .getRole ().equals (Role .ROLE_ADMIN ) || user .getRole ().equals (Role .ROLE_MANAGER ) || uri .contains (String .valueOf (hash ))) {
1107+ if (user .getRole ().equals (Role .ROLE_ADMIN ) || user .getRole ().equals (Role .ROLE_MANAGER ) || user . getRole (). equals ( Role . ROLE_REVIEWER ) || uri .contains (String .valueOf (hash ))) {
11051108 String fileName = "" ;
11061109 String fileSize = "file not found" ;
11071110 if (assetService .assetFileExists (uri )) {
0 commit comments