[Zope-dev] Object ownership

Michel Pelletier michel@digicool.com
Mon, 13 Dec 1999 13:56:43 -0500


> -----Original Message-----
> From: Ross Boylan [mailto:rboylan@mindspring.com]
> > > 2) So User objects have an owner of superuser, not themselves.
> >
> > huh?

> My thinking here is that a user doesn't exist until after the 
> User object
> (in acl_users) is created.  Ordinarily, one needs to be a 
> manager to do so.
> So the question is, does the manager own the User object, or 
> does the newly
> created user own that object.

It is undefined whether or not User objects are owned.  Some
implimentations may have users with owners, some may not (UserDB is an
example where they don't).  Basicly, don't depend on User object having
owners, consider it undefined and may change without notice.

-Michel