TenantAtlas/tests/Feature/Filament
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
..
AppProtectionPolicySettingsDisplayTest.php feat/009-app-protection-policy (#11) 2025-12-29 16:11:50 +00:00
BackupCreationTest.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00
ConditionalAccessPreviewOnlyTest.php feat(006): foundations + assignment mapping and preview-only restore guard (#7) 2025-12-26 23:44:31 +00:00
GroupPolicyConfigurationHydrationTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
GroupPolicyConfigurationNormalizedDiffTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
GroupPolicyConfigurationRestoreTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
HousekeepingTest.php feat/005-bulk-operations (#5) 2025-12-25 13:32:36 +00:00
MalformedSnapshotWarningTest.php Intune RBAC: graceful unsupported-account handling, health-check fixes, tests and docs updates 2025-12-13 01:25:06 +01:00
ODataTypeMismatchTest.php feat: merge 001-filament-json 2025-12-14 20:23:18 +01:00
PolicyCaptureSnapshotOptionsTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
PolicyListingTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
PolicySettingsDisplayTest.php dev-merges/c709b36 (#3) 2025-12-21 23:15:12 +00:00
PolicyVersionReadableLayoutTest.php dev-merges/c709b36 (#3) 2025-12-21 23:15:12 +00:00
PolicyVersionRestoreToIntuneTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
PolicyVersionRestoreViaWizardTest.php feat(wizard): Add restore from policy version (#15) 2025-12-31 19:02:28 +00:00
PolicyVersionScopeTagsDisplayTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
PolicyVersionSettingsTest.php Intune RBAC: graceful unsupported-account handling, health-check fixes, tests and docs updates 2025-12-13 01:25:06 +01:00
PolicyVersionTest.php feat: TenantPilot v1 - Complete implementation (Phases 1-12) 2025-12-12 02:27:54 +01:00
PolicyViewSettingsCatalogReadableTest.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00
RestoreExecutionTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
RestoreItemSelectionTest.php feat: group restore item selection 2025-12-30 21:29:41 +01:00
RestorePreviewTest.php feat(007): device config & compliance snapshot/restore improvements (#9) 2025-12-29 12:46:20 +00:00
SettingsCatalogPolicyHydrationTest.php feat: merge 001-filament-json 2025-12-14 20:23:18 +01:00
SettingsCatalogPolicyNormalizedDiffTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
SettingsCatalogPolicyNormalizedDisplayTest.php dev-merges/c709b36 (#3) 2025-12-21 23:15:12 +00:00
SettingsCatalogPolicySyncTest.php feat: merge 001-filament-json 2025-12-14 20:23:18 +01:00
SettingsCatalogRestoreApplySettingsPatchTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
SettingsCatalogRestoreTest.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00
SettingsCatalogSettingsTableRenderTest.php dev-merges/c709b36 (#3) 2025-12-21 23:15:12 +00:00
TenantMakeCurrentTest.php feat: TenantPilot v1 - Complete implementation (Phases 1-12) 2025-12-12 02:27:54 +01:00
TenantRbacWizardTest.php Intune RBAC: graceful unsupported-account handling, health-check fixes, tests and docs updates 2025-12-13 01:25:06 +01:00
TenantSetupTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00