Invalid client_id when adding CP user
- Adding a new client first (client -> add client)
- Log in as the client and add a mail domain plus some mailboxes
- Log out from client account and log in as admin again
- Then adding a new CP user (System -> CP Users)
New new CP user is member of the group which belongs to the previously added client. New CP user is allowed to access the Mail and WEB Module.
Now I try to log in as the newly created user by using the "log in as user" button next to the username. A error message appears.
Log out manually, then log in as the newly created user.
Now I'm logged in but do not have access to the mailbox menu and also I do not see the mail domain or the mailboxes which belongs to the user. Also I'm unable to create MySQL databases and see other stuff which belongs to the client.
The newly created CP user has client_id of 0 (table sys_user). When setting the sys_user.client_id of the newly created CP user to the same value as the main account of the client, then everything works fine.