[Zope-dev] Re: ZCatalog getObject broken
Roché Compaan
roche at upfrontsystems.co.za
Fri Mar 11 13:38:49 EST 2005
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
More information about the Zope-Dev
mailing list