This commit is contained in:
2026-07-16 09:53:14 +07:00
parent 0fc112a2e8
commit 29cec708a3
1236 changed files with 212848 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
Implement Sprint 6.11: Identity & Employee Architecture Cleanup.
Goal:
Finalize separation between login users and employee master data.
Tasks:
1. Create user_employee_map table.
2. Remove dependency on users.employeeId as primary mapping.
3. Make employee import write only to employees and employee_training_targets.
4. Stop auto-creating users during employee import.
5. Update training_records to use employeeId as owner.
6. Keep submittedByUserId / reviewedByUserId for action tracking.
7. Update dashboard, reports, and training matrix to aggregate by employeeId.
8. Keep existing login working.
9. Prepare future Keycloak mapping by empcode.
10. Create docs/sprint-6-11-identity-employee-cleanup-review.md.
Return:
- Migration changes
- Code changes
- Regression checklist
- Review document