Prohibit email/displayname change via API when not allowed#39353
Prohibit email/displayname change via API when not allowed#39353JammingBen merged 5 commits intomasterfrom
Conversation
AlexAndBear
left a comment
There was a problem hiding this comment.
LGTM, wondering if we should throw back a 405 instead of silently omitting the email address, if set in the request ?
It actually throws a |
|
@phil-davis Nice catch, I adjusted the PR to work with Edit: Also cherry-picked your two commits with the acceptance tests. |
|
Perfect one 👍 |
|
💥 Acceptance tests pipeline webUIManageUsersGrps-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
|
💥 Acceptance tests pipeline webUIManageUsersGrps-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
|
💥 Acceptance tests pipeline webUIManageUsersGrps-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
4108a19 to
2d285cc
Compare
|
Note: PR #39357 was merged - that had a webUI test code change that should make some group management webUI tests more reliable. I see that this branch has been rebased - good. |
|
Kudos, SonarCloud Quality Gate passed! |








Description
When the configs
allow_user_to_change_mail_addressorallow_user_to_change_display_nameare set tofalse, changing the corresponding values via the provisioning API is no longer possible.Related Issue
allow_user_to_change_mail_addressis setfalse#39332Types of changes
Checklist: