Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Primary email cannot be changed/set #51625

Open
4 of 8 tasks
AndyScherzinger opened this issue Mar 21, 2025 · 0 comments · May be fixed by #51745
Open
4 of 8 tasks

[Bug]: Primary email cannot be changed/set #51625

AndyScherzinger opened this issue Mar 21, 2025 · 0 comments · May be fixed by #51745
Assignees
Labels
2. developing Work in progress 29-feedback bug feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) needs info

Comments

@AndyScherzinger
Copy link
Member

⚠️ This issue respects the following points: ⚠️

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

  1. Have an (admin) user without an email (occ user:add USERNAME –g admin) or one where you want to change the mail address
  2. Login via WebUI
    3.Go to user profile
  3. 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

@AndyScherzinger AndyScherzinger added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info labels Mar 21, 2025
@joshtrichards joshtrichards added the feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) label Mar 21, 2025
@provokateurin provokateurin self-assigned this Mar 27, 2025
@provokateurin provokateurin added 2. developing Work in progress and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Mar 27, 2025
@provokateurin provokateurin moved this to 🏗️ In progress in 📁 Files team Mar 27, 2025
@skjnldsv skjnldsv moved this from Todo to In Progress in 29+ Improvement Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress 29-feedback bug feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) needs info
Projects
Status: In Progress
Status: 🏗️ In progress
4 participants