[Zope] Accessing acl_users in __init__() of Python Product

Stefan H. Holek stefan@epy.co.at
Wed, 02 Jul 2003 19:17:09 +0200


There is no acquisition context before _setObject(). Use manage_afterAdd()=20
for logic requiring an acquisition context.

Stefan


--On Mittwoch, 02. Juli 2003 17:28 +0200 Thomas G=FCttler=20
<tguettler@thomas-guettler.de> wrote:

> I need to access acl_users of the parent in the constructor
> of a python product. Acquisition seems to fail in this situation.
>
> Any hints?
>


--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.               /Pete McBreen/