fix: [employee] 사용자-사원 삭제 동기화 수정

- destroy/bulkDelete 퇴직처리 시 user_tenants.is_active = false 추가
- update에서 employee_status 변경 시 is_active 자동 동기화 (퇴직/복직)
- SwitchTenantRequest에 user_tenants.is_active 검증 추가 (비활성 테넌트 전환 차단)
- tenant_access_denied i18n 메시지 추가 (ko/en)
This commit is contained in:
2026-03-13 00:30:33 +09:00
parent 0d9a840358
commit 42d818596d
4 changed files with 48 additions and 1 deletions

View File

@@ -125,4 +125,5 @@
'invalid_transition' => "Cannot transition status from ':from' to ':to'. Allowed statuses: :allowed",
],
'tenant_access_denied' => 'Access denied for this tenant.',
];