-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Create i.e. an admin user via CLI or go to a user's profile and try to change the primary email address, this is not possible
Steps to reproduce
- Have an (admin) user without an email (
occ user:add USERNAME –g admin) or one where you want to change the mail address - Login via WebUI
3.Go to user profile - Try setting/changing the primary mail address
Expected behavior
Being able to set/change the primary email address.
To be clarified on there is a design decision behind this not being possible or if it is a bug, see
nextcloud/server/blob/1d0a65db9304f074f69cacaddbe529cf3c054ffa/apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue#L16-L28
While this can be traced back to Nextcloud 13:
It was like this in the original profile implementation and was ported to Vue later.
So its like this forever and might be because there was only a "can change displayname" method on the User class so displayname and email are scoped in the same permission
Introduced here: 039ee7e
Nextcloud Server version
29
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status