TenantAtlas/tests/Feature/TenantRBAC
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
..
ArchivedTenantRouteAccessTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00
BreakGlassRecoveryTest.php feat: implement auth structure system panel (#77) 2026-01-27 21:49:18 +00:00
LastOwnerGuardTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
MembershipAuditLogTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
RoleDefinitionsSyncNowTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantBootstrapAssignTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantDiagnosticsAccessTest.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
TenantGuidVsBigintGuardTest.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
TenantMembershipCrudTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
TenantRouteDenyAsNotFoundTest.php feat(spec-080): workspace-managed tenant administration migration (#97) 2026-02-07 19:45:13 +00:00
TenantSwitcherScopeTest.php feat: implement tenant action taxonomy lifecycle visibility (#174) 2026-03-16 00:57:17 +00:00