CDRH / chesnutt

Rails site code for the Charles W. Chesnutt Archive https://chesnuttarchive.org
0 stars 0 forks source link

Check if ID is on allow list #215

Closed wkdewey closed 1 year ago

wkdewey commented 1 year ago

Do this in the File CSV ingest in the data repo

The script that populates the correspondence table is here: https://github.com/CDRH/data_chesnutt/blob/dev/scripts/overrides/file_csv.rb#L40

There is already a check for "if file exists" - instead we want to check and see if the file is in the allow list

the allow list is in config