[Zope] Authentication Problem : External method returning object : Zope 2.2.4 Zope 2.2.4

Dieter Maurer dieter@handshake.de
Thu, 7 Dec 2000 22:23:29 +0100 (CET)


Hi Sean

Sean McGrath writes:
 > ...
 > I have an external method that returns an object. I have a dtml method
 > that tries to reference an attribute of that object. The attempted
 > attribute reference causes the HTTP authenticate dialog to appear.
 > No username/password seems to appease it.
Have you read Byan's "Upgrading to Zope 2.2"?

 > ....
 > Here is the external method "testexternal":
 > 
 > class AClass:
You will need (or something like this):
        __access_to_unprotected_subobjects__= 1
 > 	def __init__(self):
 >              ....


Dieter