Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
user/*/delete and user/*/edit work as expected
but
admin/user/user page, section "Update options"
gives access to edit/block/delete any user, even user/1
Comment | File | Size | Author |
---|---|---|---|
#4 | AdministerUsersByRole-EditDenied.png | 40.37 KB | smokris |
Comments
Comment #1
Rafał Ch CreditAttribution: Rafał Ch commentedComment #2
smokrisBulk deletion of users from the admin/user/user page is fixed in 6.x-0.9.
I'll backport this to the 5.x version.
Comment #3
smokrisBulk deletion of users from the admin/user/user page is fixed in 5.x-1.0.
Comment #4
smokrisRegarding editing: On the admin/user/user page, "edit" links are still shown, but if you click the "edit" link, it should give an error message saying "You do not have permission to edit user x." (See attachment.)
Regarding blocking/unblocking: Yes, this is a problem. I'm working on a fix for it.
Comment #5
smokrisBlocking/unblocking via admin/user/user is fixed in 5.x-1.1 and 6.x-1.1.