Skip to content

Add decrypt PDF API endpoint, add decryption to approve process#967

Open
stefanw wants to merge 6 commits into
mainfrom
stefanw/decrypt-pdf
Open

Add decrypt PDF API endpoint, add decryption to approve process#967
stefanw wants to merge 6 commits into
mainfrom
stefanw/decrypt-pdf

Conversation

@stefanw
Copy link
Copy Markdown
Member

@stefanw stefanw commented Mar 13, 2025

  • PDF decryption got some utils and an API action on attachment (tests included)
  • I removed the canPublish on pdf-redaction:
    • We don't have a concept of "publish" on attachment, only of approval. Publishing happens on the foirequest level.
    • Instead we should replace or remove redacted versions on redaction or approval, respectively.
  • The approval view (non-API) now does decryption on PDFs when a password is provided. This means no-redaction encrypted PDFs don't need to go through the redaction process anymore.

@stefanw stefanw requested review from bikubi and krmax44 March 13, 2025 16:01
@stefanw stefanw force-pushed the stefanw/decrypt-pdf branch from 19ce6ee to 9747dcc Compare March 17, 2025 08:59
@krmax44 krmax44 force-pushed the stefanw/decrypt-pdf branch from 9747dcc to 8af30f0 Compare March 30, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant