TenantAtlas/app/Services
ahmido a8bdfc5a77 feat: always capture policy when adding to backup (#22)
Problem: Beim Hinzufügen zu einem Backup Set kann ein lokaler “Reuse” dazu führen, dass ein Backup nicht den aktuellen Intune-Stand reflektiert, wenn last_synced_at nicht frisch ist.
Lösung: BackupService führt beim Add immer orchestrated capture aus (Graph Fetch), damit “Backup = current state” gilt.
Trotzdem kein unnötiges Version-Wachstum: PolicyCaptureOrchestrator re-used bestehende PolicyVersions via Snapshot-Hash, wenn sich nichts geändert hat.
Tests: Added BackupServiceVersionReuseTest.php
Specs: Updated spec.md + plan.md + tasks checked off.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #22
2026-01-02 14:33:29 +00:00
..
Graph 013-scripts-management (#19) 2026-01-01 22:02:30 +00:00
Intune feat: always capture policy when adding to backup (#22) 2026-01-02 14:33:29 +00:00
AssignmentBackupService.php feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
AssignmentRestoreService.php feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
BulkOperationService.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00