[Zope-dev] Unauthorized error with this code

Steve Alexander steve@cat-box.net
Mon, 17 Sep 2001 16:41:06 +0100


Servizio tecnico NOMOS wrote:


> 
> *This work and diplay correctly: test test.*
> 
> ** 
> 
> *This problem there is only ZOPE 2.4.0, the precedent version is run OK.*
> 
> ** 
> 
> *Can you help ME ?*


You should read up on the Zope security model. You'll need to make 
security declarations in that class, or define the class attribute

   __allow_access_to_unprotected_subobjects__=1


You can read about the Zope security model in the Zope Developers' Guide:

   http://www.zope.org/Documentation/ZDG


Please do not post HTML mail to this mailing list. Your emails will most 
likely be ignored if you do so.

--
Steve Alexander
Software Engineer
Cat-Box limited