Comment 5 for bug 174705

Revision history for this message
Tres Seaver (tseaver) wrote : Re: [Bug 174705] Re: 2.10.5-final PageTemplate returns Unauthorized error while it shouldn't

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Federico Schwindt wrote:
> The attached diff against 2.11.2 fixes it. This probably needs to be
> applied to zope3 as well.
>
> f.-
>
> ** Attachment added: "174705.diff"
> http://launchpadlibrarian.net/20101336/174705.diff

Actually, that fix is not relevant for Zope3's security machinery. We
would be better off adding the
'__allow_access_to_unrestricted_subobjects__' attribute to the
Zope2-specific subclass, Products.PageTemplates.Expressions.ZopeContext,
along with a unit test.

Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJNCB8+gerLs4ltQ4RAk3wAJ9e8wWt5BdTj59reF/CT8orOtBSDQCfcsi3
8TfvBSKy1VkWHJA8cQJAEC0=
=bt0M
-----END PGP SIGNATURE-----