Skip to content

Fix Zope test failures accessing sequence wrappers introduced in #75#82

Merged
dataflake merged 2 commits intomasterfrom
dataflake/fix_sequence_security_assertions
Jan 19, 2026
Merged

Fix Zope test failures accessing sequence wrappers introduced in #75#82
dataflake merged 2 commits intomasterfrom
dataflake/fix_sequence_security_assertions

Conversation

@dataflake
Copy link
Member

@dataflake dataflake commented Jan 17, 2026

Closes #81

#76 introduced a wrapper class for sequences. This class had no security assertions at all, which means accessing it from untrusted code raises zExceptions.Unauthorized.

This PR simply allows all access for the wrapper class because it only wraps what should have been accessible before.

@dataflake dataflake requested review from d-maurer and icemac January 17, 2026 09:57
@dataflake dataflake self-assigned this Jan 17, 2026
@dataflake dataflake merged commit 319d4a1 into master Jan 19, 2026
14 checks passed
@dataflake dataflake deleted the dataflake/fix_sequence_security_assertions branch January 19, 2026 07:50
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.

Test failures in Zope doctests with DocumentTemplate 5.0

2 participants