Prevent the editing of departments

- Note that this only applies to the UI

- Departments can still be edit in the console
Allow editing of a department without children

- This might be needed when the app is being setup