admin should be able to change user name
see point 2.
Operating system: OVH shared hosting
Web server: OVH shared hosting
Database: mysql
PHP version: 5.6
Nextcloud version: (see Nextcloud admin page) 9.0.53
Updated from an older Nextcloud/ownCloud or fresh install: new install
Where did you install Nextcloud from: nextcloud
Well that is the way the config is designed at the moment, however I can see cases where this would not be the intended behaviour.
allow_user_to_change_display_name=false in config.php
admin should be able to change user name
@focparty Display Name and Username are two different things. Could you elaborate?
As #1302 has been closed as duplicate of this issue, I'd like to throw in my support for enabling email modification independently from OC_User::canUserChangeDisplayName
. There are in fact use cases where changing the display name should be disabled while changing email should be enabled.
After some discussion with @blizzz , it might be necessary to consider that user_ldap overwrites the email value in oc_preferences
in case emails are present in LDAP. So for example the user_ldap backend could provide the email set-ability depending on whether an LDAP email attribute is set or not.
@MorrisJobke It would be great to know what you have in mind about how to implement this :)
I suggest:
'allow_user_to_change_display_name' => false,
should only prevent USERS from changing their DisplayName Settings and not automatically also their e-mail settings, so maybe an additional setting could be implemented like:
'allow_user_to_change_email_address' => false, ???
MUCH MORE IMPORTANT: this very important feature (when set to "false" should not impact ADMINS from changing or setting UserScreenName and UserEmail as well as it functions right now (I'm using 12.0.0. beta3 !!)
Regards,
Oliver
11.0.3 seems to NOT be working from ./index.php/settings/users
I can't change any details on this screen...
ettings/users
I can't change any details on this screen...
Have you set allow_user_to_change_display_name
to false
? If so: remove this line from the config and it should work again. That's currently a limitation we have.
The config that is built automatically doesn't include that line at all.
Specifically when I add that line = true then there is no change.
I can't make changes to user full name or add an email address, all I can do is allocate the user to groups and set them as admin for those groups.
Ideally, I'd like a screen similar to my own ./index.php/settings/personal page that would all of these settings to be changed for each user by the server admin
I can't make changes to user full name or add an email address, all I can do is allocate the user to groups and set them as admin for those groups.
Yes. This is sadly how it is implemented currently. 🙈 Somebody™ needs to fix it, but as this is a rarely used feature currently other issues are higher priotized. We are happy about contributions that fix this bug.
I really need this feature to control if the users can change the displayname or e-mail. And this independently.
In my usecase I need to disallow the displaynamechange for the users. The E-Mail should be still changeable.
At the moment I use a workaround that removes the form from the template. But this is only a visual removal!
This is not a Milestone anymore?
Still the behavior in 12.0.3. :-(
Any news about that? Me too stumbled accross this issue... took me hours to figure out, why I suddenly couldn't change / set users mail addresses in ADMIN backend (technically: the request http://
By chance I removed the previously added "allow_user_to_change_display_name=false" line from config and changing mail addresses in ADMIN works again as it should.
Can't really understand why setting "allow_user_to_change_display_name" to "false" has this impact...
The variable name indicates USER preventing changing their DISPLAY_NAME, and NOT that also ADMINS may not change users MAIL ADDRESS ... IMHO this config var is wrong implemented or wrong named...
Hello.
I need this very badly to deploy my third NC instance for my company. :(
Is there any news about it?
Regards.
Is allow_user_to_change_display_name
able to be changed from the Admin page instead of the config/config.php
file?
Would be much better.
allow_user_to_change_display_name should be a setting in the UI.
I don't think so, because it's normally a one-time setting.
Regardless, it should be in the UI.
In my case, I am an admin and I can access the Admin panel, but I don't have access to the Nextcloud server files on our server. So I could only go to http://<our_ip>:8080/nextcloud/index.php/settings/admin
in the browser and change it there.
And I hope that the suggestions from @githubos1 has been seen..
'allow_user_to_change_email_address'
'allow_user_to_change_display_name'
really should be two separate settings..
I'm wishing this feature since I was using Owncloud..
Hi there. @MorrisJobke: Please reopen this ticket.
@dan-nkl, @revolter: I totally agree with you. Same problem with me. I am using a Nextcloud hoster for my company and I dot not have access to the config file. In order to be able to block users from 1. changing their screen name and 2. changing their e-mail address I really need this function to be part of the user interface.
If the company behind Nextcloud really has the goal to be used by many people, then you need to add many more functions to the user interface. Just take a look at Rocket.Chat and the amount of settings it offers for administrators with no access to any config file.
@GoetheG Please open a new issue for this. We then can evaluate again if this makes sense or not (also from a maintainability point of view)
Most helpful comment
And I hope that the suggestions from @githubos1 has been seen..
'allow_user_to_change_email_address'
'allow_user_to_change_display_name'
really should be two separate settings..
I'm wishing this feature since I was using Owncloud..