Skip to content

feat(pdf): expose PDF access permissions (print, copy, modify, ...) - #79

Merged
intorpfk merged 1 commit into
masterfrom
feature/pdf-access-permissions
Oct 5, 2026
Merged

intorpfk merged 1 commit into
masterfrom
feature/pdf-access-permissions

Conversation

@intorpfk

Copy link
Copy Markdown
Member

PDFBox already provides AccessPermission via
PDDocument.getCurrentAccessPermission(), but PDFMatcher only exposed is-encrypted/security-handler/requires-user-password. Add a "permissions" entry to the PDF details map with the individual canPrint/canModify/canExtractContent/... flags.

PDFBox already provides AccessPermission via
PDDocument.getCurrentAccessPermission(), but PDFMatcher only exposed
is-encrypted/security-handler/requires-user-password. Add a
"permissions" entry to the PDF details map with the individual
canPrint/canModify/canExtractContent/... flags.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@intorpfk
intorpfk requested a review from welschsn September 21, 2026 09:04
@intorpfk
intorpfk merged commit cefe657 into master Oct 5, 2026
3 checks passed
@intorpfk
intorpfk deleted the feature/pdf-access-permissions branch October 5, 2026 12:58
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.

2 participants