On 2/24/06, Nicholas Watmough <[EMAIL PROTECTED]> wrote:
> Out of interest, why am I unable to access the method from with my Zope
> python code? What is a private object, and why is it private?

All through-the-web code is run in a restricted sandbox; this includes
Python Scripts, DTML methods, ZSQL methods and Page Templates. Any
access to non-restricted code (Zope Products, the Zope framework
itself, External Methods) is governed by the Zope security system, and
the permissions set. 'Private' is the label given to code that cannot,
ever, be directly called from restricted code.

The method in question is private because it bypasses the security
restrictions imposed by the regular version.

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

Reply via email to