[ZPT] accessing object attributes from python expression raises error

Evan Simpson evan@zope.com
Mon, 07 Jan 2002 18:25:19 -0500


Michael R. Bernstein wrote:

> The following code raises Unauthorized:
> 
> Can anyone suggest what I'm doing wrong?


T'isnt you.  The Session components are written with a default deny policy, rather than the traditional default allow.


That is, they deny access to anything not explicitly exposed, and 
'meta_type' fell through the cracks.  This needs to be fixed.


Thanks,

Evan @ Zope