From: Bill Erickson Date: Wed, 16 Nov 2016 16:15:29 +0000 (-0500) Subject: JBAS-1643 Teacher districts must be enabled X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dcb4bb8e279c48238dc26d492a20e75b9f91e741;p=working%2FEvergreen.git JBAS-1643 Teacher districts must be enabled Before the SFTP client will process a teacher account file, the district code must be added to a new TEACHER_DISTRICTS configuration list at the top of the file. Also, the SFTP client not skips any files not conforming to the correct csv file name convention. Signed-off-by: Bill Erickson --- diff --git a/KCLS/utility-scripts/import_students/sftp-client-agent.sh b/KCLS/utility-scripts/import_students/sftp-client-agent.sh index 8b5a523d60..4fe654ef8d 100755 --- a/KCLS/utility-scripts/import_students/sftp-client-agent.sh +++ b/KCLS/utility-scripts/import_students/sftp-client-agent.sh @@ -38,6 +38,12 @@ DISTRICT_CODES=( 417 # Northshore ); +# Hard-code the districts eligible for automatic teacher account processing. +TEACHER_DISTRICTS=( + 408 # Auburn + 415 # Kent +) + function usage { cat <