Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Sep 14, 2021

allow_user_to_change_display_name is supposed to only lock the display name and system mail address.

@blizzz blizzz added bug 3. to review Waiting for reviews labels Sep 14, 2021
@blizzz blizzz added this to the Nextcloud 23 milestone Sep 14, 2021
@blizzz blizzz requested review from Pytal and skjnldsv September 14, 2021 13:50
@blizzz
Copy link
Member Author

blizzz commented Sep 14, 2021

/compile /apps/settings

@blizzz
Copy link
Member Author

blizzz commented Sep 14, 2021

/backport to stable22

@blizzz blizzz requested review from a team and julien-nc and removed request for a team September 14, 2021 13:53
Signed-off-by: nextcloud-command <[email protected]>
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose after this change is there no way anymore to disable changing mail addresses?

Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allow_user_to_change_display_name is supposed to only lock the display name and system mail address.

I trust you on that even if it's kind of strange that is has an effect on the system mail address.

Code looks good.

@blizzz
Copy link
Member Author

blizzz commented Sep 14, 2021

I trust you on that even if it's kind of strange that is has an effect on the system mail address.

yeah the name of this setting is misleading

@blizzz
Copy link
Member Author

blizzz commented Sep 14, 2021

I suppose after this change is there no way anymore to disable changing mail addresses?

The system email address maybe changed or not. Either by this configuration flag (allow_user_to_change_display_name), or mails from LDAP are read only, for instance.

But the additional email addresses work independent from it, are user controlled and can always be set. The latter was not possible for it was part of that generic if-statement.

@szaimen
Copy link
Contributor

szaimen commented Sep 14, 2021

I suppose after this change is there no way anymore to disable changing mail addresses?

The system email address maybe changed or not. Either by this configuration flag (allow_user_to_change_display_name)

But the additional email addresses work independent from it, are user controlled and can always be set. The latter was not possible for it was part of that generic if-statement.

Fine by me then 👍

@Pytal Pytal merged commit db00014 into master Sep 15, 2021
@Pytal Pytal deleted the fix/noid/additional-mails-editable branch September 15, 2021 01:22
@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 15, 2021
@backportbot-nextcloud
Copy link

The backport to stable22 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants