View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18257 | Bug reports | User / Groups / Roles | public | 2022-07-19 09:20 | 2023-11-17 15:11 |
Reporter | AdrianR | Assigned To | |||
Priority | none | Severity | minor | ||
Status | feedback | Resolution | open | ||
Product Version | 5.3.x | ||||
Summary | 18257: Multiple users with same email address | ||||
Description | When a new user is added, the same email address as an existing one can be added. | ||||
Steps To Reproduce | Steps to reproduceCreate two accounts with different account name but same email address Expected resultA warning that this email is already in use and stop user creating process (don't run user create php form) Actual resultBoth users are created with the same email address. | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 5.3.26+220720 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 5.7.38 | ||||
Server OS (if known) | CentOS Stream 8 | ||||
Webserver software & version (if known) | Apache 2.4 | ||||
PHP Version | 7.4 | ||||
related to | 19237 | feedback | tibor.pacalat | User should not be able to change their email to an existing one |
Should probably have a unique constraint in the database, or at least active record validation rules. |
|
I'm not sure I see it as a bug. I regularly add test users or add users where I want the password automatically created but not sent to the user by LimeSurvey so I use my email address. Or maybe just a warning? |
|
It's not about sending out emails, but having the email address being unique for each user. |
|
I understand that. I have expanded my comment slightly. |
|
I am not sure this is a minor thing, as the "minor" severuty implies. Is it? |
|
From all options,, "minor" is the best match for this |
|
In which cases this will be an issue? Right now, LS has lot of installations which could be impacted by a general change we can introduce. |
|
I guess if you make a typo in an email address, wrong person would get access to wrong data, and there will be no warning. |
|
Agree. But is that in relation to this ticket? |
|
Someone reported a security issue related to this. |
|
LDAP user didn't need email, WebServer user didn't need email.
And ? Why it's an issue ? With or without unique validation : user can make typo .
I like to know the security issue here ? In my opinion : it's not a bug. |
|
Maybe related to allow user to connect via email only in AithLDAP ? In my opinion this must be disable (except with a setting maybe) |
|
My 2 cents. LS doesn't use email as userid. Nowadays, I wouldn't allow 2 users with same email. So, not a bug. But I would not allow it. |
|
New global setting option ? And in case of unicity : we must allow empty email (for webserver or LDAP plugin (and all other plugin without email address). |
|
How do you use (and why it exist) Add dummy user |
|
PS : Now all systems do that. It's false no php forum use email for identity. |
|
That's a good question.
At PHP config level maybe. |
|
Yes : but currently it was created since years with same email … I know how to create multiple email address with one account (and i ca nuse + or _ personnaly)
Yes, for starting, default to false (allow multiple user with same email). We still need to allow user with empty email. |
|
Not sure what you mean... Still, things can change, right?
I would say the other way around.
If email is unique, means email is considered key. |
|
Yes: but no issue since years with multiple user with same email address. I still waiting for the potential security issue with this behaviour.
Why i really see NO reason to disallow same email for different user
How do you now it's a new installation ?
We don't need email for webserver Auth, LDAP Auth etc … Why force something not necessary ? It's an issue since years … Auth plugin For webserver : we get it form config.php : https://github.com/LimeSurvey/LimeSurvey/blob/5c210ea28a6d14d6e8442eeef75155ed3bdd742a/application/core/plugins/Authwebserver/Authwebserver.php#L127 If you force unicity on email and disallow empty email : you broke 3 plugins … without an option to fix it … |
|
What about unique constraint but allow empty email? |
|
Already answered :
Already answered : |
|
It is not what the usual people expect today.
I haven't gone that dip. Still, I was picturing to be handled outside of the auth plugins.
Could be good |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-19 09:20 | AdrianR | New Issue | |
2022-07-19 10:35 | ollehar | Note Added: 71007 | |
2022-07-19 10:35 | ollehar | Bug heat | 0 => 2 |
2022-07-19 11:58 | tpartner | Note Added: 71009 | |
2022-07-19 11:58 | tpartner | Bug heat | 2 => 4 |
2022-07-19 11:59 | tpartner | Note Edited: 71009 | |
2022-07-19 12:00 | tpartner | Note Edited: 71009 | |
2022-07-19 12:00 | ollehar | Note Added: 71010 | |
2022-07-19 12:01 | tpartner | Note Added: 71011 | |
2022-07-19 20:02 | gabrieljenik | Note Added: 71020 | |
2022-07-19 20:02 | gabrieljenik | Bug heat | 4 => 6 |
2022-07-20 08:40 | AdrianR | Note Added: 71036 | |
2022-07-20 08:40 | AdrianR | Bug heat | 6 => 8 |
2022-07-21 17:49 | gabrieljenik | Note Added: 71087 | |
2022-07-21 17:49 | gabrieljenik | Status | new => feedback |
2022-07-21 18:34 | ollehar | Note Added: 71088 | |
2022-07-21 19:02 | gabrieljenik | Note Added: 71089 | |
2023-11-14 15:14 | ollehar | Note Added: 78454 | |
2023-11-14 16:59 | DenisChenu | Note Added: 78458 | |
2023-11-14 16:59 | DenisChenu | Bug heat | 8 => 10 |
2023-11-14 17:14 | DenisChenu | Note Added: 78467 | |
2023-11-14 20:03 | gabrieljenik | Note Added: 78481 | |
2023-11-15 08:50 | DenisChenu | Note Added: 78485 | |
2023-11-15 08:51 | DenisChenu | Note Edited: 78485 | |
2023-11-15 11:27 | DenisChenu | Note Added: 78491 | |
2023-11-15 11:27 | DenisChenu | File Added: Capture d’écran du 2023-11-15 11-26-22.png | |
2023-11-15 11:27 | DenisChenu | Note Added: 78492 | |
2023-11-15 16:32 | DenisChenu | Relationship added | related to 19237 |
2023-11-15 23:51 | gabrieljenik | Note Added: 78493 | |
2023-11-16 08:43 | DenisChenu | Note Added: 78494 | |
2023-11-16 13:11 | gabrieljenik | Note Added: 78501 | |
2023-11-17 10:08 | DenisChenu | Note Added: 78506 | |
2023-11-17 11:56 | ollehar | Note Added: 78508 | |
2023-11-17 12:05 | ollehar | Note Added: 78509 | |
2023-11-17 15:05 | DenisChenu | Note Added: 78511 | |
2023-11-17 15:11 | gabrieljenik | Note Added: 78512 |