TenantAtlas/tests/Feature/Rbac
ahmido 5ec62cd117 feat: harden livewire trusted state boundaries (#182)
## Summary
- add the shared trusted-state model and resolver helpers for first-slice Livewire and Filament surfaces
- harden managed tenant onboarding, tenant required permissions, and system runbooks against forged or stale public state
- add focused Pest guard and regression coverage plus the complete spec 152 artifact set

## Validation
- `vendor/bin/sail artisan test --compact`
- manual smoke validated on `/admin/onboarding/{onboardingDraft}`
- manual smoke validated on `/admin/tenants/{tenant}/required-permissions`
- manual smoke validated on `/system/ops/runbooks`

## Notes
- Livewire v4.0+ / Filament v5 stack unchanged
- no new panels, routes, assets, or global-search changes
- provider registration remains in `bootstrap/providers.php`

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #182
2026-03-18 23:01:14 +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
AdminGlobalSearchContextSafetyTest.php feat: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +00:00
AdminTenantOwnedPolicyContextTest.php feat: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +00:00
BackupItemsRelationManagerSemanticsTest.php feat: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +00:00
BackupItemsRelationManagerUiEnforcementTest.php feat: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +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: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +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 feat: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +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: central tenant operability policy (#177) 2026-03-17 11:48:55 +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: central tenant operability policy (#177) 2026-03-17 11:48:55 +00:00
TenantMembershipsRelationManagerUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
TenantRequiredPermissionsTrustedStateTest.php feat: harden livewire trusted state boundaries (#182) 2026-03-18 23:01:14 +00:00
TenantResourceAuthorizationTest.php feat: central tenant operability policy (#177) 2026-03-17 11:48:55 +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