Assigning Email Domain to a specific Client Account using a Reseller Account doesn't works as expected
assigning an "Email Domain" to a specific "Client Account" using a "Reseller Account" doesn't works as expected, because to the Client Account is assigned another Email Domain, not the selected one.
Doing the same operation from an Admin Account, it works perfectly... It doesn't works only when using a Reseller Account.
Assigning a "Web Site" to a "Client Account" using a "Reseller Account" works correctly.
That problem exist only for "Email Domain".
I discovered the problem, let's me explain it from a database prospective:
- Reseller: client_id=1 (who own the email domain)
- Customer: client_id=9 (the destination of the email domain)
- Email Domain: domain_id=154 (the email domain that I want assign to the Customer 9)
After I assign the domain 154 to the customer 9, I find the domain 10 assigned to the customer 9, so I think there is something wrong with the queries (from the mail_domain_edit.php page?) when executed from a non Admin Account.
into the database, I found these wrong entries for the domain_id=10:
- domain_id = 10
- sys_userdid = 10
- sys_groupud = 10
Let's me know if I must post others details.
With kind regards.