ustaxcourt / ef-cms

An Electronic Filing / Case Management System.
https://dawson.ustaxcourt.gov/
Other
88 stars 47 forks source link

10001 (and 10002 and 10003): Updates to client-side PDF Validation to mark read-only pdfs as invalid #5387

Closed Mwindo closed 1 month ago

Mwindo commented 1 month ago

pdfjs-dist throws a PasswordException upon open, but this only checks password protection on read. This PR implements checks for any password protections on edit as well. (We need to allow edits so that DAWSON can stamp, add pages, etc.)