Personal tools
You are here: Home Products Plone Roadmap #185: Change Content Owner if Current Owner is Deleted
Document Actions

#185: Change Content Owner if Current Owner is Deleted

Contents
  1. Motivation
  2. Proposal
by Jon Stahl last modified May 11, 2007 - 20:30
Currently if a site manager deletes a user who owns content objects, those objects can become inaccessible. Plone should offer an opportunity to reassign objects during the user delete process.
Proposed by
Jon Stahl
Seconded by
Alexander Limi
Proposal type
Architecture
State
being-discussed

Motivation

Currently, if the user that owns a content object is deleted, that content object becomes "orphaned" (has no owner)  which can lead to unpredictable behavior, and it is not always possible easily reassign ownership through the Plone UI.

Fixing this behavior will prevent site managers from accidentally making content inaccessible when they delete users.

Proposal

When a user is deleted, Plone should

  1. Check to see if that users owns any content objects
  2. If so, present a dialog that:
    • Shows which content objects the user owns
    • Allows you to choose a new user who should be assigned ownership of the objects
  3. Reassign ownership of the objects
  4. Delete the user as requested

Also allow for deleting all the content the user owned

Posted by Alexander Limi at May 11, 2007 - 20:31
In some cases, deleting all the content connected with the user might be desirable, and shouldn't be hard to add as an option.

IPrincipalDeletedEvent

Posted by Emyr Thomas at September 28, 2007 - 13:24
PluggableAuthService has a IPrincipalDeletedEvent that could be used for this.

An option, why not.

Posted by Encolpe Degoute at November 1, 2007 - 21:20
It could be very long if the user have hundreds or thousands of documents. Think about Plone sites based on forums for example...

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by