[Zope-CMF] Transfer ownership?

Jens Vagelpohl jens@zope.com
Tue, 7 Aug 2001 14:48:58 -0400


mark,

look at the source code for the default membership tool under 
CMFDefault/MembershipTool.py. The method "createMemberarea" does what you'
re trying to achieve.

jens

On Tuesday, August 7, 2001, at 12:36 , Mark Langkau wrote:

> Hi,
>
> How do I change the ownership of an object? I need to create some
> "starter" content for some existing intranet users, but I want the user
> to own the object, not me when I create it. In other words, I need to
> create an object on behalf of an existing Member, and not own that
> object myself.
>
> For example, I'd like to create a document containing a structured text
> outline for an existing user to edit and maintain. That user should own
> the object. As a site manager  I'd like to be able to transfer ownership
> from myself to another user. This won't happen often enough to make it a
> default action when a new member joins.
>
> Or perhaps a Member leaves the community and I need to transfer
> ownership of objects (docs and such) to another Member to maintain using
> the "owner" role. If it's not possible through-the-web (security
> issues), does anyone have a how-to or working script I could look at?
>
> Thanks,
> Mark
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature 
> requests