Allow username change for administrators in the ucp if its disabled.

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
User avatar
Dragosvr92
Registered User
Posts: 624
Joined: Tue May 31, 2011 12:08 pm
Location: Romania
Contact:

Allow username change for administrators in the ucp if its disabled.

Post by Dragosvr92 »

If you set Allow username changes: to No, it wont allow anyone to change their username from the UCP.
I think an administrator or founder should be allowed to change it from the UCP, regardless of the option that disables username changing.
And not only this... A founder/admin should have access to do anything possible, even if the option is disallowed globally.

Opinions?
Previous user: TheKiller
Avatar on Memberlist 1.0.3

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Allow username change for administrators in the ucp if its disabled.

Post by Pony99CA »

If you're an Admin (with appropriate Admin permissions), just go into the ACP and do it. I suppose since that's allowed anyway, you could allow it in the UCP (if they had those same Admin permissions), but it's not something I'd worry much about.

If you want to write a Pull Request, cool; otherwise I'd prefer the developers focussing on more pressing issues.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
Dragosvr92
Registered User
Posts: 624
Joined: Tue May 31, 2011 12:08 pm
Location: Romania
Contact:

Re: Allow username change for administrators in the ucp if its disabled.

Post by Dragosvr92 »

Yes, i know it can be done from the acp directly. If the admin has access to do this for himself and anybody else, from the acp. Then he should have access to do it from the ucp also, for themselves. Not much of a serious thing. I am not bugged by it. Its just something i noticed on my board, as i changed my username, and wanted to point it out.
Previous user: TheKiller
Avatar on Memberlist 1.0.3

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: Allow username change for administrators in the ucp if its disabled.

Post by EXreaction »

I do not think this should just be done for people with admin permission to alter user profiles, it could cause confusion if the setting is actually disabled or not working properly if it shows up in the UCP for administrators and it's supposed to be disabled.

Rather than that I think this could be done as a permission setting rather than a global yes/no, so groups or users could be given permission to change their username (via the UCP).

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Allow username change for administrators in the ucp if its disabled.

Post by Pony99CA »

EXreaction wrote: Rather than that I think this could be done as a permission setting rather than a global yes/no, so groups or users could be given permission to change their username (via the UCP).
Actually, it already is: Can change username on the Profile tab of the User permissions page. ;)

Now I wonder if the global permission overrides that specific permission. (I just checked -- it does.) But the OP could probably set the global option to allow name changes and just give people in the Admin groups permission to change their names (set Registered Users to No, Admins to Yes).

Should we suggest getting rid of the global option?

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: Allow username change for administrators in the ucp if its disabled.

Post by imkingdavid »

I would be all for removing the global option. I don't see the purpose in having global on/off as well as a permission setting for this.
But I do agree that we should not enable editing in the UCP for admins for the reasons stated above.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: Allow username change for administrators in the ucp if its disabled.

Post by EXreaction »

Global options like this have their pros and cons. It's harder to disable it board wide if it's currently enabled (have to set all the permissions), but there are then two places that control the feature (can lead to confusion).

The other problem is that the permission system is generally confusing for users, so having to change that setting through permissions only may cause problems as well for users.

I'm not sure there is a good solution to these problems with the constraints in the design of the current ACP, optimally there would be a way to set single settings such as this via permissions for a set of groups or users rather than have to edit the settings for those groups/users (or roles) and then find the single permission, and then set it.

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: Allow username change for administrators in the ucp if its disabled.

Post by imkingdavid »

EXreaction wrote:I'm not sure there is a good solution to these problems with the constraints in the design of the current ACP, optimally there would be a way to set single settings such as this via permissions for a set of groups or users rather than have to edit the settings for those groups/users (or roles) and then find the single permission, and then set it.
I would support looking into a way to set specific permissions for all groups/users in one click. I'm not sure the best place to put it, but the way I see it would be a page that looks identical to the current permission setting page with the addition of a check box next to the settings so you can select the permissions you want to apply globally.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Allow username change for administrators in the ucp if its disabled.

Post by Pony99CA »

EXreaction wrote:Global options like this have their pros and cons. It's harder to disable it board wide if it's currently enabled (have to set all the permissions), but there are then two places that control the feature (can lead to confusion).
In the case, the solution seems trivially easy. To turn the ability off, set the permission to NEVER for Registered Users; to turn it on, set the permission to YES for Registered Users.

Guests and Bots can't get to the UCP anyway, so you don't need to set it for them. ;)

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: Allow username change for administrators in the ucp if its disabled.

Post by EXreaction »

Yes, easy for someone familiar with using the fine-grained controls of the permissions system.

Post Reply