Fixes: #2670 Fixed a typo in class_acl
Fixes: #1922 Improved foreignKey handling
Fixes: #1922 Added foreignKeys in departments
Fixes: #1922 Fixed department Management plManages