[drupal-devel] [feature] re-assign all nodes from deleted users to anonymous.
Issue status update for http://drupal.org/node/28345 Post a follow up: http://drupal.org/project/comments/add/28345 Project: Drupal Version: cvs Component: node.module Category: feature requests Priority: normal Assigned to: Anonymous Reported by: kubaZygmunt Updated by: kubaZygmunt Status: patch (code needs review) Attachment: http://drupal.org/files/issues/node_delete_user.txt (667 bytes) I've added node_user hook, to re-assign all content from deleted users to anonymous during deleting. kubaZygmunt
Issue status update for http://drupal.org/node/28345 Post a follow up: http://drupal.org/project/comments/add/28345 Project: Drupal Version: cvs Component: node.module Category: feature requests Priority: normal Assigned to: Anonymous Reported by: kubaZygmunt Updated by: mathias Status: patch (code needs review) -1 I think most admins expect that when a user is deleted, their content is also deleted or at least hidden. While I don't want to see a GUI for this, I still like the idea of controlling finer Drupal details though the $conf init array in settings.php. mathias Previous comments: ------------------------------------------------------------------------ Sat, 06 Aug 2005 14:48:02 +0000 : kubaZygmunt Attachment: http://drupal.org/files/issues/node_delete_user.txt (667 bytes) I've added node_user hook, to re-assign all content from deleted users to anonymous during deleting.
Issue status update for http://drupal.org/node/28345 Post a follow up: http://drupal.org/project/comments/add/28345 Project: Drupal Version: cvs Component: node.module Category: feature requests Priority: normal Assigned to: Anonymous Reported by: kubaZygmunt Updated by: Thomas Ilsche Status: patch (code needs review) By the way: For my work (soc testsuite project) it would be quite handy to have a dedicated user_delete function (like user_save). Is there any policy or plan against this. Thomas Ilsche Thomas Ilsche Previous comments: ------------------------------------------------------------------------ Sat, 06 Aug 2005 14:48:02 +0000 : kubaZygmunt Attachment: http://drupal.org/files/issues/node_delete_user.txt (667 bytes) I've added node_user hook, to re-assign all content from deleted users to anonymous during deleting. ------------------------------------------------------------------------ Sat, 06 Aug 2005 15:56:43 +0000 : mathias -1 I think most admins expect that when a user is deleted, their content is also deleted or at least hidden. While I don't want to see a GUI for this, I still like the idea of controlling finer Drupal details though the $conf init array in settings.php.
Issue status update for http://drupal.org/node/28345 Post a follow up: http://drupal.org/project/comments/add/28345 Project: Drupal Version: cvs Component: node.module Category: feature requests Priority: normal Assigned to: Anonymous Reported by: kubaZygmunt Updated by: nysus Status: patch (code needs review) I think whether or not cotent gets deleted when a user does should be optional. When deleting a user, there should be a checkbox that says "Delete user's content," defaulted to on. Or there should at least be a warning. Quite a bit of the site could get unwittingly obliterated. I've had this happen to me. I set up a test account. Then I added some content with the account. After I was done with the account, I was quite surprised to discover all the content gone. nysus Previous comments: ------------------------------------------------------------------------ Sat, 06 Aug 2005 14:48:02 +0000 : kubaZygmunt Attachment: http://drupal.org/files/issues/node_delete_user.txt (667 bytes) I've added node_user hook, to re-assign all content from deleted users to anonymous during deleting. ------------------------------------------------------------------------ Sat, 06 Aug 2005 15:56:43 +0000 : mathias -1 I think most admins expect that when a user is deleted, their content is also deleted or at least hidden. While I don't want to see a GUI for this, I still like the idea of controlling finer Drupal details though the $conf init array in settings.php. ------------------------------------------------------------------------ Sat, 06 Aug 2005 16:00:18 +0000 : Thomas Ilsche By the way: For my work (soc testsuite project) it would be quite handy to have a dedicated user_delete function (like user_save). Is there any policy or plan against this. Thomas Ilsche
Kuba, are you introducing this functionality as a way of helping your automated testing? I can see how such a hook would be useful when testing adding and deleting users. Robert
I made this because I saw some errors during my testing of taxonomy nodeapi, I've created user, put content, deleted user, and then I saw that drupal shows this content as n/a. I don't need this function for my testing, because I delete content after testing. I thought it could be a fine feature. On 8/6/05, Robert Douglass <rob@robshouse.net> wrote:
Kuba, are you introducing this functionality as a way of helping your automated testing? I can see how such a hook would be useful when testing adding and deleting users.
Robert
Kuba, I agree that it would be a nice feature, if configurable. I disagree with the idea that it should be in settings.php - this seems like it belongs in the admin interface. -Robert Kuba Zygmunt wrote:
I made this because I saw some errors during my testing of taxonomy nodeapi, I've created user, put content, deleted user, and then I saw that drupal shows this content as n/a. I don't need this function for my testing, because I delete content after testing. I thought it could be a fine feature.
On 8/6/05, Robert Douglass <rob@robshouse.net> wrote:
Kuba, are you introducing this functionality as a way of helping your automated testing? I can see how such a hook would be useful when testing adding and deleting users.
Robert
Ok, I'll do something with that
Issue status update for http://drupal.org/node/28345 Post a follow up: http://drupal.org/project/comments/add/28345 Project: Drupal Version: cvs Component: node.module Category: feature requests Priority: normal Assigned to: Anonymous Reported by: kubaZygmunt Updated by: lgarfiel Status: patch (code needs review) I would definitely prefer to have content remain around and flagged anonymous rather than be deleted. That's especially true for historical data in a site where the user population is transient. I'd make it an option in the settings somewhere which to default to, so that it's harder to forget and do it wrong if your usual preference doesn't match up with the expected default. :-) lgarfiel Previous comments: ------------------------------------------------------------------------ Sat, 06 Aug 2005 14:48:02 +0000 : kubaZygmunt Attachment: http://drupal.org/files/issues/node_delete_user.txt (667 bytes) I've added node_user hook, to re-assign all content from deleted users to anonymous during deleting. ------------------------------------------------------------------------ Sat, 06 Aug 2005 15:56:43 +0000 : mathias -1 I think most admins expect that when a user is deleted, their content is also deleted or at least hidden. While I don't want to see a GUI for this, I still like the idea of controlling finer Drupal details though the $conf init array in settings.php. ------------------------------------------------------------------------ Sat, 06 Aug 2005 16:00:18 +0000 : Thomas Ilsche By the way: For my work (soc testsuite project) it would be quite handy to have a dedicated user_delete function (like user_save). Is there any policy or plan against this. Thomas Ilsche ------------------------------------------------------------------------ Sat, 06 Aug 2005 16:31:56 +0000 : nysus I think whether or not cotent gets deleted when a user does should be optional. When deleting a user, there should be a checkbox that says "Delete user's content," defaulted to on. Or there should at least be a warning. Quite a bit of the site could get unwittingly obliterated. I've had this happen to me. I set up a test account. Then I added some content with the account. After I was done with the account, I was quite surprised to discover all the content gone.
participants (7)
-
Kuba Zygmunt -
kubaZygmunt -
lgarfiel -
mathias -
nysus -
Robert Douglass -
Thomas Ilsche