# 4. Groups & Roles

User Type: **Organization**
Source: *Mi Digital Academy - Education CRM Features Document*

---

## 4. Groups & Roles

### 4.1 Department & Group Management
**What it does:** Lets the organization manage departments and groups: create departments, create groups within departments, and move users between groups.

**Sub-features:**
- Create, edit, and archive departments
- Create groups within departments
- Move users between groups
- Group membership list
- Department and group hierarchy view
- Department & Group Management available on web and mobile
- department & group management event logging (viewed)
- Audit logging of department & group management

**Organization User Journey:**
1. Organization navigates to Department & Group Management.
2. Organization reviews the department & group management details shown.
3. Organization performs the primary action for department & group management.
4. Organization confirms the result matches the documented behavior.
5. Organization opens Profile → "Activity" and confirms the events are recorded.

**Rules & Edge Cases:**
- Create, edit, and archive departments.
- Create groups within departments.
- Move users between groups.
- Group membership list.
- Department and group hierarchy view.

### 4.2 Role Assignment
**What it does:** Assigns roles to users within the organization: learner, mentor, program coordinator, with role-based access to platform features.

**Sub-features:**
- Role definitions: learner, mentor, program coordinator
- Assign roles to users
- Bulk role assignment
- Role change history
- Role-based access enforcement
- Role Assignment available on web and mobile
- role assignment event logging (viewed)
- Audit logging of role assignment

**Organization User Journey:**
1. Organization navigates to Role Assignment.
2. Organization reviews the role assignment details shown.
3. Organization performs the primary action for role assignment.
4. Organization confirms the result matches the documented behavior.
5. Organization opens Profile → "Activity" and confirms the events are recorded.

**Rules & Edge Cases:**
- Role definitions: learner, mentor, program coordinator.
- Assign roles to users.
- Bulk role assignment.
- Role change history.
- Role-based access enforcement.
