Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Dieter Maurer ha escrit: Santi Camps wrote at 2004-10-18 12:37 +0200: ... I have a persistent object A and a non persistent object B. B has implicit acquisition. From trusted code I return B.__of__(A). Trying to access B.meta_type from untrusted code (a ZPT) raises the error.B

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but if the object containing meta_type attribute inherits from

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Richard Jones ha escrit: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but if the object containing

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Santi Camps ha escrit: En/na Richard Jones ha escrit: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Dieter Maurer
Santi Camps wrote at 2004-10-19 15:05 +0200: ... Error Type: Unauthorized* *Error Value: The container has no security assertions. Access to 'get_sum_of_values' of (Adapter instance at 40ae6ac0) denied.* This tells you that the container containing get_sum_of_values does not have security

[Zope-dev] 2.7.3 beta attribute permission problems

2004-10-18 Thread Santi Camps
Hi all, I've instal·led Zope 2.7.3b2 (python 2.3.4, gnu/linux box) to test my products and at the first moment I've found a terrible problem for me. My applications began to raise Unauthorized: The container has no security assertions errors everywhere. I've been looking for in google and

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-18 Thread Dieter Maurer
Santi Camps wrote at 2004-10-18 12:37 +0200: ... I have a persistent object A and a non persistent object B. B has implicit acquisition. From trusted code I return B.__of__(A). Trying to access B.meta_type from untrusted code (a ZPT) raises the error.B has no attribute meta_type, so