Paul Winkler wrote:
On Thu, Dec 01, 2005 at 09:04:11PM +0100, Jean-Marc Orliaguet wrote:
You need to call InitializeClass on your object, and that's it.
under "Zopifying our Python classes"
initializeClass() only helps if the class you feed it
inherits from Acquisition.Implicit or Acquisition.Explicit,
and has some security declarations in it.
for protected methods, but what if your methods are public?
- It is important to note what can and cannot be protected using the
|SecurityInfo| interface. First, the security policy relies on
/Acquisition/ to aggregate access control information, so any class that
needs to work in the security policy must have either
|Acquisition.Implicit| or |Acquisition.Explicit| in its base class
- if the object has a security assertion that it is /public/ then access
will be granted
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,
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -