TenantAtlas/tests/Feature/Filament
ahmido 440e63edff feat: implement tenant action taxonomy lifecycle visibility (#174)
## Summary

Implements Spec 145 for tenant action taxonomy and lifecycle-safe visibility.

This PR:
- adds a central tenant action policy surface and supporting value objects
- aligns tenant list, detail, edit, onboarding, and widget surfaces around lifecycle-safe actions
- standardizes operator-facing lifecycle wording around View, Resume onboarding, Archive, Restore, and Complete onboarding
- tightens onboarding and tenant lifecycle authorization semantics, including honest 404 vs 403 behavior
- updates related regression coverage and spec artifacts for Spec 145
- fixes follow-on full-suite regressions uncovered during validation, including onboarding browser flows, provider consent fixtures, workspace redirect DI expectations, and critical table/action/UI expectation drift

## Validation

Executed and passed:
- vendor/bin/sail bin pint --dirty --format agent
- vendor/bin/sail artisan test --compact

Result:
- 2581 passed
- 8 skipped
- 13534 assertions

## Notes

- Base branch: dev
- Feature branch commit: a33a41b
- Filament v5 / Livewire v4 compliance preserved
- No panel provider registration changes; Laravel 12 provider registration remains in bootstrap/providers.php
- No new globally searchable resource behavior added in this slice
- Destructive lifecycle actions remain confirmation-gated and authorization-protected

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #174
2026-03-16 00:57:17 +00:00
..
Alerts feat: canonical tenant context resolution (#164) 2026-03-11 21:24:28 +00:00
Spec113 feat(113): Platform Ops Runbooks — UX Polish (Filament-native, system theme, live scope) (#137) 2026-02-27 01:11:25 +00:00
AdminHomeRedirectsToChooseTenantWhenWorkspaceSelectedTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
AdminSharedSurfacePanelParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
AdminSmokeTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
AdminTenantScopedSurfacesRedirectToChooseTenantTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
AdminTenantSurfaceParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
AppProtectionPolicySettingsDisplayTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
ArchivedTenantViewTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
AuditLogAuthorizationTest.php feat: lay audit log foundation (#163) 2026-03-11 09:39:37 +00:00
AuditLogDetailInspectionTest.php feat: lay audit log foundation (#163) 2026-03-11 09:39:37 +00:00
AuditLogPageTest.php feat: canonical tenant context resolution (#164) 2026-03-11 21:24:28 +00:00
BackupCreationTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
BackupItemsBulkRemoveTest.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
BackupItemsNoPollingTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
BackupItemsRelationManagerFiltersTest.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
BackupSetAdminTenantParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
BackupSetEnterpriseDetailPageTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
BackupSetGraphSafetyTest.php feat: upgrade Filament to v5.2.1 (#124) 2026-02-20 12:20:42 +00:00
BackupSetPolicyPickerTableTest.php feat(110): Ops-UX enterprise start/dedup standard (repo-wide) (#134) 2026-02-24 09:30:15 +00:00
BackupSetRelatedNavigationTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
BackupSetResolvedReferencePresentationTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
BackupSetUiEnforcementTest.php Spec 122: Empty state consistency pass (#148) 2026-03-08 02:17:51 +00:00
BaselineCompareLandingAdminTenantParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
BaselineCompareLandingDuplicateNamesBannerTest.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
BaselineCompareLandingRbacLabelsTest.php feat: add Intune RBAC baseline compare support (#156) 2026-03-09 18:49:20 +00:00
BaselineCompareLandingStartSurfaceTest.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
BaselineCompareLandingWhyNoFindingsTest.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
BaselineCompareNowWidgetTest.php Spec 125: standardize Filament table UX (#152) 2026-03-08 22:54:56 +00:00
BaselineProfileCaptureStartSurfaceTest.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
BaselineProfileCompareStartSurfaceTest.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
BaselineProfileFoundationScopeTest.php feat: add Intune RBAC baseline compare support (#156) 2026-03-09 18:49:20 +00:00
BaselineProfileListFiltersTest.php feat: standardize filter UX across key resources (#154) 2026-03-09 06:27:22 +00:00
BaselineSnapshotAuthorizationTest.php feat: add structured baseline snapshot rendering (#158) 2026-03-10 08:28:06 +00:00
BaselineSnapshotDegradedStateTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
BaselineSnapshotFallbackRenderingTest.php feat: add structured baseline snapshot rendering (#158) 2026-03-10 08:28:06 +00:00
BaselineSnapshotFidelityVisibilityTest.php feat: add structured baseline snapshot rendering (#158) 2026-03-10 08:28:06 +00:00
BaselineSnapshotListFiltersTest.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
BaselineSnapshotRbacRoleDefinitionsTest.php feat: add structured baseline snapshot rendering (#158) 2026-03-10 08:28:06 +00:00
BaselineSnapshotRelatedContextTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
BaselineSnapshotResolvedReferencePresentationTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
BaselineSnapshotStructuredRenderingTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
BaselineTenantAssignmentsRelationManagerTest.php feat: standardize filter UX across key resources (#154) 2026-03-09 06:27:22 +00:00
CanonicalAdminTenantFilterStateTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
ChooseTenantEmptyStateRegisterTenantCtaVisibilityTest.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
ChooseTenantIsWorkspaceScopedTest.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
ChooseTenantRequiresWorkspaceTest.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
ChooseWorkspaceShowsLastUsedRecommendationTest.php feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
ConditionalAccessPreviewOnlyTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
CreateCtaPlacementTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
EmptyStateConsistencyTest.php Spec 122: Empty state consistency pass (#148) 2026-03-08 02:17:51 +00:00
EnrollmentAutopilotSettingsDisplayTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
EnrollmentRestrictionsPreviewOnlyTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
EnterpriseDetailTemplateRegressionTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
EntraGroupAdminScopeTest.php feat: canonical tenant context resolution (#164) 2026-03-11 21:24:28 +00:00
EntraGroupEnterpriseDetailPageTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
EntraGroupGlobalSearchScopeTest.php feat: canonical tenant context resolution (#164) 2026-03-11 21:24:28 +00:00
EntraGroupResolvedReferencePresentationTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
FilamentBootsTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
FilamentNotificationsAssetsTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
FindingResolvedReferencePresentationTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
FindingViewRbacEvidenceTest.php feat: refine onboarding draft flow and RBAC diff UX (#171) 2026-03-14 20:09:54 +00:00
GroupPolicyConfigurationHydrationTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
GroupPolicyConfigurationNormalizedDiffTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
GroupPolicyConfigurationRestoreTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
HousekeepingTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
InventoryCoverageAdminTenantParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
InventoryCoverageTableTest.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
InventoryHubDbOnlyTest.php feat: add inventory coverage interactive table (#151) 2026-03-08 18:33:00 +00:00
InventoryItemListFiltersTest.php feat: standardize filter UX across key resources (#154) 2026-03-09 06:27:22 +00:00
InventoryItemResourceTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
InventoryPagesTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
LivewireInterceptShimIsLoadedTest.php 057-filament-v5-upgrade (#66) 2026-01-20 21:19:27 +00:00
LoginRedirectsToChooseWorkspaceWhenMultipleWorkspacesTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
MalformedSnapshotWarningTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
ManagedTenantsLandingLifecycleTest.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
ODataTypeMismatchTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
OperationRunEnterpriseDetailPageTest.php feat: harden canonical run viewer and onboarding draft state (#173) 2026-03-15 18:32:04 +00:00
OperationRunListFiltersTest.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
OperationRunResumeCaptureActionTest.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
PanelNavigationSegregationTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
PolicyCaptureSnapshotOptionsTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
PolicyListingTest.php Spec 125: standardize Filament table UX (#152) 2026-03-08 22:54:56 +00:00
PolicyResourceAdminSearchParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
PolicyResourceAdminTenantParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
PolicySettingsDisplayTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
PolicySettingsStandardRendersArraysTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
PolicySyncCtaPlacementTest.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
PolicyVersionAdminSearchParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
PolicyVersionAdminTenantParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
PolicyVersionBaselineEvidenceVisibilityTest.php feat: add cross-resource navigation cohesion (#160) 2026-03-10 16:08:14 +00:00
PolicyVersionListFiltersTest.php feat: standardize filter UX across key resources (#154) 2026-03-09 06:27:22 +00:00
PolicyVersionReadableLayoutTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
PolicyVersionRelatedNavigationTest.php feat: add cross-resource navigation cohesion (#160) 2026-03-10 16:08:14 +00:00
PolicyVersionResolvedReferenceLinksTest.php feat: canonical tenant context resolution (#164) 2026-03-11 21:24:28 +00:00
PolicyVersionRestoreToIntuneTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
PolicyVersionRestoreViaWizardTest.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
PolicyVersionScopeTagsDisplayTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
PolicyVersionSettingsTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
PolicyVersionTest.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
PolicyViewSettingsCatalogReadableTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
ProviderConnectionsDbOnlyTest.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
ProviderConnectionsUiEnforcementTest.php feat(spec-089): provider connections tenantless UI (#107) 2026-02-12 16:35:13 +00:00
RecentOperationsSummaryWidgetTest.php feat(verification): unify verification surfaces (Spec 084) (#102) 2026-02-09 11:28:09 +00:00
ResolvedReferenceRenderingSmokeTest.php feat: standardize enterprise detail pages (#162) 2026-03-10 23:06:26 +00:00
ResolvedReferenceUnsupportedClassTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
RestoreExecutionTest.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
RestoreItemSelectionTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
RestorePreviewTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
RestoreRunAdminTenantParityTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
RestoreRunListFiltersTest.php feat: standardize filter UX across key resources (#154) 2026-03-09 06:27:22 +00:00
RestoreRunUiEnforcementTest.php Spec 122: Empty state consistency pass (#148) 2026-03-08 02:17:51 +00:00
RestoreWizardGraphSafetyTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ScriptPoliciesNormalizedDisplayTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
SelectTenantPostPersistsLastUsedTest.php feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
SettingsCatalogPolicyHydrationTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
SettingsCatalogPolicyNormalizedDiffTest.php feat(010): Administrative Templates – restore from PolicyVersion + version visibility (#13) 2025-12-30 01:50:05 +00:00
SettingsCatalogPolicyNormalizedDisplayTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
SettingsCatalogPolicySyncTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
SettingsCatalogRestoreApplySettingsPatchTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
SettingsCatalogRestoreTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
SettingsCatalogSettingsTableRenderTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TableDetailVisibilityTest.php Spec 125: standardize Filament table UX (#152) 2026-03-08 22:54:56 +00:00
TableStandardsBaselineTest.php Spec 125: standardize Filament table UX (#152) 2026-03-08 22:54:56 +00:00
TableStandardsCriticalListsTest.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
TableStatePersistenceTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
TenantActionsAuthorizationTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
TenantContextResolvedReferenceCarryoverTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
TenantDashboardDbOnlyTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
TenantDashboardTenantScopeTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
TenantDiagnosticsRepairsTest.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
TenantGlobalSearchLifecycleScopeTest.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
TenantMakeCurrentTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
TenantMembersDbOnlyRenderTest.php 073-unified-managed-tenant-onboarding-wizard (#90) 2026-02-04 23:30:55 +00:00
TenantMembersTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
TenantPortfolioContextSwitchTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantRbacWizardTest.php Spec 096: Ops polish (assignment summaries + dedupe + reconcile tracking + seed DX) (#115) 2026-02-15 20:49:38 +00:00
TenantResourceIndexIsWorkspaceScopedTest.php Spec 125: standardize Filament table UX (#152) 2026-03-08 22:54:56 +00:00
TenantRoleDefinitionsSelectorDbOnlyTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantScopingTest.php feat(spec-089): provider connections tenantless UI (#107) 2026-02-12 16:35:13 +00:00
TenantSetupTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
TenantSwitcherUrlResolvesTenantTest.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
TenantVerificationReportWidgetTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
TenantViewHeaderUiEnforcementTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
WindowsUpdateProfilesRestoreTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
WindowsUpdateRingPolicyTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
WindowsUpdateRingRestoreTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
WorkspaceContextTopbarAndTenantSelectionTest.php Spec 077: Workspace Global Mode + context bar redundancy cleanup (#94) 2026-02-06 22:14:53 +00:00
WorkspaceOnlySurfaceTenantIndependenceTest.php feat: complete admin canonical tenant rollout (#165) 2026-03-13 08:09:20 +00:00
WorkspaceOverviewAccessTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewAuthorizationTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewContentTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewEmptyStatesTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewLandingTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewNavigationTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewOperationsTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
WorkspaceOverviewPermissionVisibilityTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00