In drupal 7 there are multiple options when cancelling a user's account. These options include:

  1. blocking the user and either keeping their content
  2. blocking the user and unpublishing their content
  3. deleting the user and reassigning their content to the anonymous user
  4. deleting the user and deleting their content

Thus, need to implement a method to deal with namecards under each of these circumstances. This is particularly true with linked content types. For example, a node of type namecards_organization may be created by a user, but be linked to by namecards of other users. If you unpublished this organization, other users namecards will be wreaked.

Solution: only unpublish or delete nodes that are not connected with other users' namecards. This would also mean reassigning the ownership of such nodes if the original user is deleted.

Comments

begun’s picture

Status: Active » Fixed

Task completed

begun’s picture

Status: Fixed » Closed (fixed)