[Zope] RE: [Tog] The container has no security assertions

Mark McEahern mmceahern@youelsystems.com
Mon, 18 Nov 2002 14:11:43 -0600


A friend helped me answer this:  I had an instance member variable named
"years"--so even though I granted public access to the method named
"years()", Zope was refusing access to the member variable.  This became
somewhat obvious when I did:

  security.setDefaultAccess('allow')

Then it was just a matter of using _years to store the computed value so as
not to overlap with the method name.

Cheers,

// mark