# Departments, hierarchy and leaders

> Build the department tree of an EduBase organization, name its leaders and external IDs, and see what moving or removing a department changes for members.

Departments are the organizational units of an EduBase organization: sites, departments, teams. Each member belongs to at most one, which decides their default permissions, which competencies they get by department, and who leads them. Departments nest into a tree, and each can have named leaders who follow their people's competencies. The first steps are in [Set up your organization](https://help.edubase.net/get-started/organization-admin/); this page covers the tree, the leaders and later changes.

## Build the tree

Open **Departments** on the organization's management page. To place a department under another, choose its **Parent unit** in the department's window (**new department**, or **Manage** in its menu). The list shows each department under its parent; filter it to **parent units** or **child units**.

The demo company has two plants, each with its departments below it: Eastbrook plant → Production, Warehouse; Westholm plant → Maintenance, Quality; and Office on its own.

What the tree changes:

- "Members of subordinate units can be viewed by members of the parent unit, but permissions are not inherited." Each department keeps its own **Permissions**.
- Leaders lead their department and every department below it.
- A department cannot be moved under itself or under one of its own sub-units.

## Name the leaders

Under **Managers**, choose up to 5 members who lead the department. Leading is separate from permissions: a shift leader can stay a plain member and still:

- see the competencies of their people by name on **My team**, for their department and every department below it ([My team for department leaders](https://help.edubase.net/compliance/my-team/));
- get a message when members are more than 3 days overdue; if a department has no leader, the message goes to the nearest leaders above it ([Reminders and escalation](https://help.edubase.net/compliance/reminders/)).

![The Edit department window of Production: parent unit Eastbrook plant, the Managers field, external ID EB-PRD, and the permissions Member, None and Only my own](https://help.edubase.net/assets/screens/organization/departments/01-edit-department.webp)
/// caption
**Departments → Production → Manage**
///

## Keep an external ID

**External ID** holds your own code for the department, for example the cost center or the code in your HR system. The API finds a department by its name or by this ID. Over the API, departments can be created, renamed, moved, given leaders and removed (`organization:department`), so the tree can follow your HR system; see [HR and enterprise system synchronization](https://help.edubase.net/integrations/hr-sync/).

## Move people between departments

A member's department is set in their **Settings** on the **Members** page. When it changes, they get the competencies assigned to the new department and lose those they had only through the old one, together with their progress on them. The Settings window warns about this first. See [Assign competencies by department or job role](https://help.edubase.net/compliance/assign/).

## Remove a department

Choose **Remove** in the department's menu. Then:

- the departments below it move up to its parent;
- its members stay in the organization, without a department; their permissions fall back to the defaults (member, no access to contents, own data only), except for members with custom permissions;
- competencies assigned to it are no longer assigned to its members, and their progress on them is deleted;
- its leaders stop leading it.

## Limits

- A member belongs to one department at a time.
- Up to 5 leaders per department; leaders must be members of the organization.
- Department names are unique within an organization.
- **Known issue:** the department's window currently opens with **Managers** empty, even when the department has leaders, and saving it removes them. Select the leaders again every time you save the window, or set them over the API.
- The interface has no link between separate organizations, such as a parent company and its subsidiaries. To run a group in one organization, make each company a top-level department; for separate organizations, ask the EduBase team.

## Related

- [Set up your organization](https://help.edubase.net/get-started/organization-admin/)
- [Job roles](https://help.edubase.net/organization/job-roles/)
- [Permissions and member visibility](https://help.edubase.net/organization/permissions/)
- [My team for department leaders](https://help.edubase.net/compliance/my-team/)
- [Drive training assignments from your HR system](https://help.edubase.net/guides/hr-driven-training/)
