Although there is no link on core for this, it is possible to reach it through user/0/delete. Not user if this is right, but it could cause some problems. Other modules might generate links to this (views "delete link" did).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | deny_access_to_delete_uid0_909274_3.patch | 1.05 KB | ergonlogic |
Comments
Comment #1
franz.glauber commentedops, typo there. I meant "Not sure if this is right"
Comment #2
franzforgot to change account. subscribing
Comment #3
ergonlogicThis is fixed in 7.x by the addition of a user_cancel_access() function, which I suppose could be backported as user_delete_access() in 6.x.
Not sure if it's kosher to add functions like this to 6.x, but I don't see any other way to do it.
Comment #4
franzLooks ok. Doesn't seem like inserting much bloat into D6. Since it's not an API change, it shouldn't be a problem to add functions.
Comment #5
ergonlogicRTBC, then?
Comment #6
franzbumping
Comment #7
gábor hojtsyLooks good. I've changed the comment to say "from being deleted" instead of "from being cancelled", since there is no user cancellation in Drupal 6. Committed with that. http://drupalcode.org/project/drupal.git/commitdiff/e5dbe7a9b6aa1634dfb9...
Comment #9
fenstratJust nothing here, this broke the user_delete module #1425182: Fatal error Cannot redeclare user_delete_access() with Drupal-6.24
Comment #10
gábor hojtsyAdded this to the known issues on http://drupal.org/drupal-7.12