Closed CarlyCotton closed 4 days ago
@HRAGANBC @Joshua-Lakusta @JerPearson Please take a look and let me know if we're missing anything to push this up to lather.
Remove file attached. Insert placeholder text file. Add System message..."
Not clear to me how this is different than the following AC. Are you envisioning an error message AND a text file containing some contents?
@HRAGANBC I was thinking that we'd have the placeholder text file(with a note inside to provide context to the student) AND adding a note to the student profile (as a guide for ministry users). I've updated the AC to better show the two items as separate.
"Filename should be the same as the deleted file with "-OriginalFileError" at the end" can we update it to "-OriginalFileError.txt" ? @CarlyCotton @HRAGANBC Please confirm
@guru-aot Yes, can have the .txt extension after "-OriginalFileError"
@CarlyCotton
@andrepestana-aot
@CarlyCotton
@andrepestana-aot I have updated the AC and edited my comment because I don't actually want to ensure that a sketchy file is accessible to users. Is there a reason to change this to a toast message instead of the way it was written/groomed/estimated?
As per the conversation including the team and @ninosamson the decision is not to delete the file from the storage. Later ticket to change purge failed files if needed.
To clarify regarding Guru's question above - we were asked if the text to show it failed could be in front of the extension. I answered it can be. If I'm asked if it can be behind the extension, it can be. As long as there is an indication of the error in the file name,
@andrepestana-aot
Updated the last AC to:
Original:
Scanned but Failed/Virus Detected: Perform the following automatically:
- Hide the failed file so it cannot be accessed by users. Insert placeholder text file (see next AC).
- Filename should be the same as the deleted file with "-OriginalFileError" at the end. Inside the text file we can include more information: "Due to our security rules, the original file, [filename], was deleted. Please re-check your file and attempt to re-upload.
User Story As a Ministry User, I would like to ensure that malware is not propagated VIA SIMS due to the reputational risk and as such require that all files received via SIMS are scanned. This involves not allowing a file to be downloaded before it has been scanned as OK, and to put a placeholder file when files had scanning issues.
Acceptance Criteria
Technical Context
Context Follow up on how to deal with the virus scanning in #3180 for users.