Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2008 at 17:38 UTC
Updated:
1 Feb 2008 at 01:31 UTC
Administrator users that don't have the "change own username" permission checked, can change their own username.
To replicate this bug, make a new role entitled "Administrator". Create a new user of this role. In the access control, check "administer users" checkbox, and make sure the "change own username" is not checked. Click save and log in as your new user.
Edit your account and you'll see that you can change your own username, even though you don't have the permission to. This could be considered a bug.
Comments
Comment #1
robloachMoving to 6.
Comment #2
ericg commentedI do not consider this a bug.
Being able to change a user's username is an explicit part of being able to administer users.
What you're asking for is to give someone the ability to administer all users but their own user account. something I don't see as being a common need amongst drupal sites/users.
If you are giving user admin power to someone and you don't want them to change their own name, I'd hope that could be done by simply having a policy that admin users don't change their own names. I would assume that anyone given admin user rights is highly trusted and this is not an issue.
Comment #3
webernet commentedAdminister users grants all user permissions. Same as administer content does with content.