On Fri, 2005-03-11 at 19:10 +0100, Max M wrote:
> Roché Compaan wrote:
> > The rest of the discussion basically boils down to figure out if the
> > user is allowed to access C or not.
> Hasn't it been raised allready that there is no way of knowing that?
> A single method might be public, but the rest of the object is hidden.

This is what I am arguing but I haven't had anybody agree/disagree with
me yet. It is also a lot simpler to fix:

<     return self.aq_parent.restrictedTraverse(self.getPath(), None)
>     return self.aq_parent.unrestrictedTraverse(self.getPath(), None)

Roché Compaan
Upfront Systems                   http://www.upfrontsystems.co.za

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to