Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

stefanw
Copy link
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
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