TenantAtlas/tests/Feature
ahmido e19aa09ae0 feat(wizard): Add restore from policy version (#15)
Implements the "Restore via Wizard" action on the PolicyVersion resource.

This allows a user to initiate a restore run directly from a specific policy version snapshot.

- Adds a "Restore via Wizard" action to the PolicyVersion table.
- This action creates a single-item BackupSet from the selected version.
- The CreateRestoreRun wizard is now pre-filled from query parameters.
- Adds feature tests to cover the new workflow.
- Updates tasks.md to reflect the completed work.

## Summary
<!-- Kurz: Was ändert sich und warum? -->

## Spec-Driven Development (SDD)
- [ ] Es gibt eine Spec unter `specs/<NNN>-<feature>/`
- [ ] Enthaltene Dateien: `plan.md`, `tasks.md`, `spec.md`
- [ ] Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation)
- [ ] Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert

## Implementation
- [ ] Implementierung entspricht der Spec
- [ ] Edge cases / Fehlerfälle berücksichtigt
- [ ] Keine unbeabsichtigten Änderungen außerhalb des Scopes

## Tests
- [ ] Tests ergänzt/aktualisiert (Pest/PHPUnit)
- [ ] Relevante Tests lokal ausgeführt (`./vendor/bin/sail artisan test` oder `php artisan test`)

## Migration / Config / Ops (falls relevant)
- [ ] Migration(en) enthalten und getestet
- [ ] Rollback bedacht (rückwärts kompatibel, sichere Migration)
- [ ] Neue Env Vars dokumentiert (`.env.example` / Doku)
- [ ] Queue/cron/storage Auswirkungen geprüft

## UI (Filament/Livewire) (falls relevant)
- [ ] UI-Flows geprüft
- [ ] Screenshots/Notizen hinzugefügt

## Notes
<!-- Links, Screenshots, Follow-ups, offene Punkte -->

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #15
2025-12-31 19:02:28 +00:00
..
Filament feat(wizard): Add restore from policy version (#15) 2025-12-31 19:02:28 +00:00
Jobs feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
AdminConsentCallbackTest.php feat: TenantPilot v1 - Complete implementation (Phases 1-12) 2025-12-12 02:27:54 +01:00
BackupItemReaddTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
BackupWithAssignmentsConsistencyTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
BulkDeleteBackupSetsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkDeleteMixedStatusTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkDeletePoliciesAsyncTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkDeletePoliciesTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkDeleteRestoreRunsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkExportFailuresTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkExportToBackupTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkForceDeleteBackupSetsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkForceDeletePolicyVersionsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkForceDeleteRestoreRunsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkProgressNotificationTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkPruneSkipReasonsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkPruneVersionsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkRestoreBackupSetsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkRestorePolicyVersionsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkRestoreRestoreRunsTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkSyncPoliciesTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkTypeToConfirmTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
BulkUnignorePoliciesTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
ExampleTest.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
ExecuteRestoreRunJobTest.php feat: add confirm & queued execute to restore wizard 2025-12-31 01:50:33 +01:00
FoundationBackupTest.php feat(006): foundations + assignment mapping and preview-only restore guard (#7) 2025-12-26 23:44:31 +00:00
PolicyVersionViewAssignmentsTest.php feat(007): device config & compliance snapshot/restore improvements (#9) 2025-12-29 12:46:20 +00:00
RestoreAssignmentApplicationTest.php feat(006): foundations + assignment mapping and preview-only restore guard (#7) 2025-12-26 23:44:31 +00:00
RestoreGroupMappingTest.php fix: prime group mapping state 2025-12-31 13:27:50 +01:00
RestorePreviewDiffWizardTest.php feat: add preview diff step 2025-12-30 22:05:57 +01:00
RestoreRiskChecksWizardTest.php fix: accept object group mapping in checks 2025-12-31 11:53:03 +01:00
RestoreRunArchiveGuardTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
RestoreRunRerunTest.php feat(006): foundations + assignment mapping and preview-only restore guard (#7) 2025-12-26 23:44:31 +00:00
RestoreRunWizardExecuteTest.php feat: add confirm & queued execute to restore wizard 2025-12-31 01:50:33 +01:00
RestoreRunWizardMetadataTest.php feat: add confirm & queued execute to restore wizard 2025-12-31 01:50:33 +01:00
RestoreScopeTagMappingTest.php feat(006): foundations + assignment mapping and preview-only restore guard (#7) 2025-12-26 23:44:31 +00:00
SettingsCatalogDefinitionResolverTest.php dev-merges/c709b36 (#3) 2025-12-21 23:15:12 +00:00
VersionCaptureWithAssignmentsTest.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00