18 Sep
2002
18 Sep
'02
6:57 p.m.
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