A Django web application to receive, virus check and validate transfers of digital archival records, and allow archivists to appraise and accession those records.
Currently the save_bag_data() method on the Archives model queries Organization objects based on the value of the Source_Organization key in the bag-info.txt file. This theoretically allows organizations to submit bags which would be associated with other organizations...not good. Add a check to ensure that the name of the organization associated with the transfer is the same as the value of Source_Data in bag-info.txt.
Currently the
save_bag_data()
method on theArchives
model queriesOrganization
objects based on the value of theSource_Organization
key in thebag-info.txt
file. This theoretically allows organizations to submit bags which would be associated with other organizations...not good. Add a check to ensure that the name of the organization associated with the transfer is the same as the value ofSource_Data
inbag-info.txt
.