TenantAtlas/apps/platform/tests/Feature/Rbac
ahmido e64bae9cfc feat: cut over tenant core to managed environments (#335)
## Summary
- replace the legacy Tenant and TenantMembership core models with ManagedEnvironment and ManagedEnvironmentMembership
- propagate the managed environment naming and key changes across Filament resources, pages, controllers, jobs, models, and supporting runtime paths
- add feature 279 spec artifacts and focused managed-environment test coverage for model behavior, route binding, panel context, authorization, and legacy guardrails

## Validation
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/ManagedEnvironment/LegacyTenantCoreGuardTest.php tests/Feature/ManagedEnvironment/ManagedEnvironmentAuthorizationTest.php tests/Feature/ManagedEnvironment/ManagedEnvironmentPanelContextTest.php tests/Feature/ManagedEnvironment/ManagedEnvironmentRouteBindingTest.php tests/Unit/ManagedEnvironment/ManagedEnvironmentContextResolverTest.php tests/Unit/ManagedEnvironment/ManagedEnvironmentModelTest.php`
- `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`

## Notes
- branch pushed from commit `1123b122`
- browser smoke test file was added but not run in this pass

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #335
2026-05-07 06:38:14 +00:00
..
RoleMatrix feat: remove findings acknowledged compatibility and unify canonical operation types (#296) 2026-04-29 07:34:39 +00:00
ActionSurfaceRbacSemanticsTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AdminGlobalSearchContextSafetyTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AdminTenantOwnedPolicyContextTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BackupItemsRelationManagerSemanticsTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BackupItemsRelationManagerUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BackupQualityVisibilityTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BaselineCompareMatrixAuthorizationTest.php feat: implement spec 198 monitoring page state contract (#238) 2026-04-15 21:59:42 +00:00
CreateRestoreRunAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
CrossResourceNavigationAuthorizationTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
DashboardRecoveryPostureVisibilityTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
DenialDiagnosticsTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
DriftLandingUiEnforcementTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
EditProviderConnectionUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
EditTenantArchiveUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
FilamentManageEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
InventoryItemResourceAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
OnboardingWizardUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
PolicyVersionMaintenanceAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
PolicyVersionsRestoreToIntuneUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnectionsCreateUiEnforcementTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
RegisterTenantAuthorizationTest.php feat: close spec 195 action surface residuals (#230) 2026-04-13 07:47:58 +00:00
ResolvedReferenceAuthorizationTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantActionSurfaceConsistencyTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantAdminAuthorizationTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantDashboardArrivalContextVisibilityTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantLifecycleActionNamingTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantLifecycleActionVisibilityTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantMembershipsRelationManagerUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantRequiredPermissionsTrustedStateTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantResourceAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TriageReviewStateAuthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
UiEnforcementDestructiveTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
UiEnforcementMemberDisabledTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
UiEnforcementNonMemberHiddenTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
WorkspaceMembershipsRelationManagerUiEnforcementTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00