[Zope] Zope scripting and ownership

Isaac To kkto@csis.hku.hk
30 Nov 2002 16:12:08 +0800


Hi,

Is there any way for a Python script to control who is going to be the owner
of a file it generate?  My testing show that a new object created using
manage_X method is always owned by the authenticated person, even if it is
created by a proxy script and the authenticated person normally have no
right to create a new object in that folder.  Is it possible to write a
script that change the owner at the time when an object is created, or after
the object is created, say if the script is a manager proxy?

Regards,
Isaac.