Skip to content
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

MAINT: Introduce a PdfReader property 'user_access_permissions' #2399

Closed
MartinThoma opened this issue Jan 6, 2024 · 0 comments · Fixed by #2400
Closed

MAINT: Introduce a PdfReader property 'user_access_permissions' #2399

MartinThoma opened this issue Jan 6, 2024 · 0 comments · Fixed by #2400
Labels
breaking-change A planned breaking change
Milestone

Comments

@MartinThoma
Copy link
Member

As a user, I want to have a well-defined way how to read and write user access permissions in the context of the Standard Encryption Dictionary (Section 7.6.3.2 in 1.7 specs; also "Table 21 – Additional encryption dictionary entries for the standard security handler").

The user access permissions ("Table 22 – User access permissions" of the 1.7 specs) should be exposed as a property with the value constants.UserAccessPermissions on the reader. In that context, the decode_permissions should get deprecated.

See #2391.

@MartinThoma MartinThoma added this to the pypdf==4.0.0 milestone Jan 6, 2024
@MartinThoma MartinThoma changed the title MAINT: Introduce a property 'user_access_permissions' MAINT: Introduce a PdfReader property 'user_access_permissions' Jan 6, 2024
@MartinThoma MartinThoma added the breaking-change A planned breaking change label Jan 6, 2024
@py-pdf py-pdf deleted a comment from eabase Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change A planned breaking change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant