[Zope-dev] Object ownership

Michel Pelletier michel@digicool.com
Mon, 13 Dec 1999 11:08:31 -0500


> -----Original Message-----
> From: Ross Boylan [mailto:RossBoylan@stanfordalumni.org]
> Sent: Sunday, December 12, 1999 9:22 PM
> To: zope-dev@zope.org
> Subject: [Zope-dev] Object ownership
> 
> 
> I've been making some assumptions about how ownership works, and I'd
> appreciate it if anyone could tell me if they are right.
> 
> 1) The owner of an object is the authenticated user when the 
> script that
> creates it runs.

Correct.

> 2) So User objects have an owner of superuser, not themselves.

huh?

> 3) I can programmatically create an object graph, and the 
> ownership of the
> parts of the graph will be right.

The owner of the parts will be the user that created them.

-Michel