Fixes: #1922 Added foreign keys in group and user
Fixes: #2670 Removed useless part from class_acl