----- Original Message ----- 
From: "Toby Dickenson" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 1:46 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)


On Thursday 01 Aug 2002 12:49 pm, Gilles Lenfant wrote:
>> Hi,
>>
>> aq_base(someObject) doesn't work in a python script. I need to get an
>> object without its acquisition wrapper.
>
> It cant be done in untrusted code, because it would let you strip away its 
> security settings.

> You could write an external method, or similar trusted code.

Thanks Toby

I can't understand that reason because it's also easy to strip away an object's 
security settings in an untrusted python script that has a Manager proxy.
Well, I'm gonna make my 2 or 3 lines External method :(

Cheers

--Gilles




_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to