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).

Files: 
CommentFileSizeAuthor
#3 deny_access_to_delete_uid0_909274_3.patch1.05 KBergonlogic
PASSED: [[SimpleTest]]: [MySQL] 190 pass(es).
[ View ]

Comments

ops, typo there. I meant "Not sure if this is right"

forgot to change account. subscribing

Status:Active» Needs review
StatusFileSize
new1.05 KB
PASSED: [[SimpleTest]]: [MySQL] 190 pass(es).
[ View ]

This 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.

Looks 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.

Status:Needs review» Reviewed & tested by the community

RTBC, then?

bumping

Status:Reviewed & tested by the community» Fixed

Looks 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...

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Just nothing here, this broke the user_delete module #1425182: Fatal error Cannot redeclare user_delete_access() with Drupal-6.24

Added this to the known issues on http://drupal.org/drupal-7.12

In Drupal 6.24, if you have the contributed user_delete module enabled on your site, the update will fail with a Cannot redeclare user_delete_access() error. An update of user_delete module is being worked on.