System Groups mess up clients rights after change
if you add a client the user gets set into a own group (for example: web1 -> group web1). If you delete this group and move the user to a different group (for example "Users"), the user has no rights anymore to do anything. Even if you assign him to group web1 again.
You seem to rely on the sys_group.client_id, which is 0 after the first group change. (Why is there a client_id field anyway?)
204 Query SELECT limit_mailbox as number, parent_client_id FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = 12 -> This query doesn't retrieve anything, because sys_group.client_id = 0.
204 Query SELECT count(mailuser_id) as number FROM mail_user WHERE ((sys_userid = 4 AND sys_perm_user like '%u%') OR (sys_groupid IN (0) AND sys_perm_group like '%u%') OR sys_perm_other like '%u%')
Workaround for me atm: don't touch the default user groups. Never ever, or i have to fix this manually in the database :(