Can't create an employee associated to another shop with email already used in database #29458
Labels
1.7.7.8
Affects versions
BO
Category: Back Office
Bug
Type: Bug
Employees
Label: Which BO under menu is concerned
Minor
Severity: minor bug > https://build.prestashop.com/news/severity-classification
Multistore
Label: Which BO under menu is concerned
Needs Specs
Status: issue needs to be specified
Team
Label: Which BO under menu is concerned
Verified
The issue has been reproduced
Prerequisites
Describe the bug and add screenshots
Once you enable the multishop and having two shops, you are able to create somes employees with shop associated.
If you try to use the same email address, it will fail because it's already exist, even if it's not associated to the same shop.
Expected behavior
Be able to use the same address email within each shop for an employee account.
As you can use the virtual uri to reach the Back Office of the specific shop, you could be able to have an employee with the same email address but with a different profile and/or ajusted for this shop.
Steps to reproduce
PrestaShop version(s) where the bug happened
1.7.8.7, 8.0.0
PHP version(s) where the bug happened
8.0.21
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered: