On Fri, Dec 02, 2005 at 04:12:01PM +0100, Jean-Marc Orliaguet wrote:
> does zope2 do an access control based on acquisition for public methods, 
> that would be a waste of resources since the answer is always "yes, 
> granted" ?

Well, the thing is, the declaration that makes the method public
*has no effect* unless your class participates in acquisition.

Oh, and the instance needs to be given an acquisition context, too.
e.g.  foo = foo.__of__.some_parent


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

Reply via email to