Manage departments and their groups