TenantAtlas/tests/Feature/Rbac
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
..
RoleMatrix 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
ActionSurfaceRbacSemanticsTest.php feat: action-surface contract inspect affordance + clickable rows (#100) 2026-02-08 20:31:36 +00:00
BackupItemsRelationManagerSemanticsTest.php feat: add Intune RBAC inventory and backup support (#155) 2026-03-09 10:40:51 +00:00
BackupItemsRelationManagerUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
CreateRestoreRunAuthorizationTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
CrossResourceNavigationAuthorizationTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
DenialDiagnosticsTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
DriftLandingUiEnforcementTest.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
EditProviderConnectionUiEnforcementTest.php feat(spec-089): provider connections tenantless UI (#107) 2026-02-12 16:35:13 +00:00
EditTenantArchiveUiEnforcementTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
FilamentManageEnforcementTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
InventoryItemResourceAuthorizationTest.php feat: standardize filter UX across key resources (#154) 2026-03-09 06:27:22 +00:00
OnboardingWizardUiEnforcementTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
PolicyVersionMaintenanceAuthorizationTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
PolicyVersionsRestoreToIntuneUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
ProviderConnectionsCreateUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
RegisterTenantAuthorizationTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ResolvedReferenceAuthorizationTest.php feat: add resolved reference presentation layer (#161) 2026-03-10 18:52:52 +00:00
TenantActionSurfaceConsistencyTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
TenantAdminAuthorizationTest.php fix: consolidate tenant creation + harden selection flows (#131) 2026-02-22 19:54:24 +00:00
TenantLifecycleActionNamingTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
TenantLifecycleActionVisibilityTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
TenantMembershipsRelationManagerUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
TenantResourceAuthorizationTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
UiEnforcementDestructiveTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
UiEnforcementMemberDisabledTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
UiEnforcementNonMemberHiddenTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
WorkspaceMembershipsRelationManagerUiEnforcementTest.php feat: workspace-first managed tenants + RBAC membership UI fixes (072) (#87) 2026-02-02 23:54:22 +00:00