[Zope] Handling of objects returned from external methods within zope?
Dieter Maurer
dieter@handshake.de
Wed, 18 Sep 2002 20:57:20 +0200
Stephan Herschel writes:
> I'm using Zope 2.5.0 on Linux.
>
> I have created an external method in Zope which catalogs and external
> function. This function just creates on object of a class defined in the
> external file and returns this.
>
> The class looks like this:
>
> class x:
> def y (s):
> return 1
You want to read the Zope Developer Guide, especially the security chapter
and the staff about security declarations.
Keep in mind, that most security declarations (the "declareProtected"
family) require your class to derive from "Acquisition.Ex/Implicit"
and be wrapped in the correct context.
Dieter