5 Dec
2001
5 Dec
'01
4:18 p.m.
Keith Alperin wrote:
security = ClassSecurityInfo() security.declarePublic('getValue') def getValue(self): """returns the value of this property""" return self.value
If you haven't already, read http://dev.zope.org/Wikis/DevSite/Projects/DeclarativeSecurity/ZopeSecurityF..., in particular the example right before the paragraph that starts with: "Note the last line in the example. In order for security assertions to be correctly applied to your class, you must call the global class initializer for all classes that have security information." Hopefully this will solve your problem. Cheers, Evan @ Zope