Release in version 3.22.0:
Move departments with drag and drop functionality.
Departments can be moved via drag and drop in "company/users", even if they already have users:
- Moving main-department with sub-departments in structure -> Moves main-department with sub-departments included
- Moving only sub-department with no connected sub-departments under -> Moves only sub-department and main-department is not moved
- Moving sub-department with connected sub-departments under -> Moves sub-departments with sup-departments included
Move departments with drag and drop:
1. Mark department you want to move before dragging:
2. Drag and hover over desired department so it's marked:
3. Drop department and select in pop-up whether or not users should keep, inherit etc in regards to roles
Options when moving department:
Depending on previously connected roles from previous main-department
1. Keep: Keep default roles from previous department. Users does not inherit roles from new department.
2. Inherit: Users will be connected to default roles from new department and default roles from previous departments will be disconnected
3. Keep and Inherit: User will be connected to new default roles and also keep roles from previous department
4. Disconnect: Users will not be connected to new default roles, and will be disconnected from default roles from previous departments
If the department you're moving using drag and drop does not have default roles attached, and the new department has default roles, a pop-up will appear with two available options:
1. Inherit: Users will be connected to default roles from departments
2. Don't inherit: Users will not be connected to default roles from department
In competence in admin tools:
Steps to connect:
When creating a role: Role can be set as default for department in properties:
If selecting "default for department" all users in the selected department will be added to role:
If the main-department has a role connected, and main-department has sub-departments connected - you have the option to connect users to default roles from parent departments:
For example: By going in edit properties in "Sub-department 1" and selecting option to "connect users to default roles from all parent departments" - all users from "Sub-department 1" will be added to role "Test A role":
To enable the connection of users to default roles from parent departments, this setting must be configured individually in each sub-department. The role inheritance applies upwards within the department structure.
Users are added to parent departments until it is not applied in properties for the parent department: