fs
c429ff43cd
refactor: fix 7 CRUD system inconsistencies for robustness and maintainability
- Add user-assignment dependency check to DepartmentService.deleteByUuid (409 when users assigned)
- Standardize POST detection to isMethod('POST') in 10 create/edit actions
- Align RoleService code uniqueness to warning pattern (matching departments)
- Normalize repository create() return types from mixed to int|false (3 repos + 3 interfaces)
- Add JSON response branches to 4 non-user delete actions
- Document delete authorization ordering pattern
- Decompose AdminSettingsService.updateFromAdmin into domain-scoped private methods
Workflow: .agents/runs/CRUD-CONSISTENCY-001/
Reviewed by: Code Reviewer (pass), Security Reviewer (pass), Acceptance Tester (pass)
Quality gates: QG-001 PHPUnit pass, QG-002 PHPStan pass, QG-003 Architecture pass
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 18:25:33 +01:00
..
2026-03-22 18:25:33 +01:00
2026-03-13 12:05:11 +01:00
2026-03-20 22:49:03 +01:00
2026-03-13 12:05:11 +01:00
2026-03-13 11:31:33 +01:00
2026-03-19 20:35:15 +01:00
2026-03-22 18:25:33 +01:00
2026-03-18 22:19:56 +01:00
2026-03-13 13:57:54 +01:00
2026-03-22 14:15:36 +01:00
2026-03-22 15:08:02 +01:00
2026-03-19 20:15:48 +01:00
2026-03-19 20:35:15 +01:00