[Zope-dev] New Security Rules ... are very frustrating

Stephan Richter srichter@cbu.edu
Thu, 06 Dec 2001 23:25:25 -0600


Hello everyone,

I have a major issue with the new security. Let's say I have class X (a 
nice Zopish object) and an object Y.

class X:

      Y = Y

Now, I am still able to access Y in an instance of X, like:

x = X()
x.Y

but I am not able to access method do_z() anymore.

x.Y.do_z()

BTW, Y is not a nice Zope object but an instance from anywhere. And setting 
__allow_access_to_unprotected_subobjects__ does not help much either and it 
should not be the final solution anyway.

Can anyone help?

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management