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

Setting email not possible for external users (when password change is not allowed) #10005

Closed
H2CK opened this issue Jul 29, 2014 · 9 comments
Closed

Comments

@H2CK
Copy link

H2CK commented Jul 29, 2014

Steps to reproduce

  1. Configure and use an external user backend (user_external)
  2. Try to change email for notifications in preferences for external user

Expected behaviour

In preferences the section to change the email address for a user should be shown without any pre-conditions. It should be possible for external users to set their email address even when a password change is not possible for those users.

Actual behaviour

Section to change email address in preferences is not show because it is only displayed when the user is allowed to change the password. For external users (e.g. IMAP Auth via user_external) it is not possible to set the password. Because it is not possible to change the password.

Server configuration

Operating system: Ubuntu 14.04

Web server: Apache 2.4.7

Database: MySQL 5.6.17

PHP version: 5.5.9

ownCloud version: 7.0.0

Updated from an older ownCloud or fresh install: Updated from 6.0.4

stonerl added a commit to stonerl/core that referenced this issue Aug 23, 2014
It fixed the problem for me. But I don't know if it is a proper solution.
@littlekid440
Copy link

The problem with this fix is that opencloud does not have access to the database IMAP uses to store password. This forces the email field to show up but it is effectively useless. Am I missing something?

@H2CK
Copy link
Author

H2CK commented Feb 4, 2015

The email in the field is not only used for password recovery! The email address is also used for notifications. If it is not possible to set the email you are not able to receive notifications. The email field should be editable indendant from the possibility to change the password or not.

Am 4. Februar 2015 18:50:09 MEZ, schrieb littlekid440 [email protected]:

The problem with this fix is that opencloud does not have access to the
database IMAP uses to store password. This forces the email field to
show up but it is effectively useless. Am I missing something?


Reply to this email directly or view it on GitHub:
#10005 (comment)

@MorrisJobke
Copy link
Contributor

Maybe something we should think of in #12998

@MorrisJobke MorrisJobke mentioned this issue Feb 4, 2015
27 tasks
@netnut404
Copy link

I believe this appears to be the reason I am having trouble in 8.1.1
any user I have that is not local, but from the pwauth backend ( https://apps.owncloud.com/content/show.php/?content=148406 ) I cant set the email address for them either as a admin or in the personal login as the user. if I create a local account it works fine.

any idea how I can get around this?

this leaves me quite stuck as many features need the email address in the account

@PVince81 PVince81 added this to the backlog milestone Jan 7, 2016
@SmoothMC
Copy link

same issue here
no way to give an mail address in Users or Personal
there is also no way to put in the Full Name for an User. The Field is present but on reload the page the name switched back to the uid

thx for working on it

@juliusstoerrle
Copy link

juliusstoerrle commented Feb 22, 2017

Any news on this one?

I can set an Email Address, but is there a way to automatically set it when using the imap backend?

@webmarka
Copy link

Hep! Just in case, I thought I had this same problem on a new server but found out it was because the PUT request method wasn't allowed on the server! Open your browser's console with F12 to verify.

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests