TenantAtlas/apps/platform/tests/Feature/Rbac
ahmido ddf7c15c52 feat: enforce environment-owned baseline compare routing (#374)
## Summary
- move Baseline Compare onto the canonical workspace plus environment owned route instead of workspace-style access
- remove legacy environment query and remembered-context fallback paths from the affected Baseline Compare entry points and shell handling
- update related navigation, support links, and regression coverage for admin surface scope and managed environment route contracts
- add Spec 319 artifacts for the environment-owned surface routing and shell context contract

## Testing
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Filament/BaselineCompareEnvironmentRouteContractTest.php tests/Feature/Filament/BaselineCompareLandingAdminTenantParityTest.php tests/Feature/Filament/BaselineCompareLandingDuplicateNamesBannerTest.php tests/Feature/Filament/BaselineCompareLandingRbacLabelsTest.php tests/Feature/Filament/BaselineCompareLandingStartSurfaceTest.php tests/Feature/Filament/BaselineCompareLandingWhyNoFindingsTest.php tests/Feature/Filament/PanelNavigationSegregationTest.php tests/Feature/Guards/ManagedEnvironmentCanonicalRouteContractTest.php tests/Feature/Navigation/WorkspaceHubRegistryTest.php tests/Feature/Rbac/BaselineCompareMatrixAuthorizationTest.php tests/Feature/Rbac/DriftLandingUiEnforcementTest.php tests/Unit/Tenants/AdminSurfaceScopeTest.php`
- `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #374
2026-05-16 20:45:39 +00:00
..
RoleMatrix fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
ActionSurfaceRbacSemanticsTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
AdminGlobalSearchContextSafetyTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
AdminPanelAccessBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
AdminTenantOwnedPolicyContextTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
BackupItemsRelationManagerSemanticsTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
BackupItemsRelationManagerUiEnforcementTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
BackupQualityVisibilityTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BaselineCompareMatrixAuthorizationTest.php feat: enforce environment-owned baseline compare routing (#374) 2026-05-16 20:45:39 +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 refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
DenialDiagnosticsTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
DriftLandingUiEnforcementTest.php feat: enforce environment-owned baseline compare routing (#374) 2026-05-16 20:45:39 +00:00
EditProviderConnectionUiEnforcementTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
EditTenantArchiveUiEnforcementTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
FilamentManageEnforcementTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
FindingExceptionLifecycleAccessBoundaryTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
GovernanceArtifactsWorkspaceFirstAuthorizationTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
InventoryItemResourceAuthorizationTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
ManagedEnvironmentAccessBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
OnboardingWizardUiEnforcementTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
OperationRunAccessBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
OperationRunWorkspaceFirstAuthorizationTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
PolicyVersionMaintenanceAuthorizationTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
PolicyVersionsRestoreToIntuneUiEnforcementTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
ProviderConnectionAccessBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
ProviderConnectionsCreateUiEnforcementTest.php Spec 315: implement environment CTA explicit filter contract (#370) 2026-05-16 11:50:20 +00:00
ProviderConnectionWorkspaceFirstPolicyTest.php Complete Spec 287 prerequisite cutover (#346) 2026-05-10 18:22:34 +00:00
RegisterTenantAuthorizationTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
ResolvedReferenceAuthorizationTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ReviewPackAccessBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
SystemPanelAccessBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
TenantActionSurfaceConsistencyTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TenantAdminAuthorizationTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TenantDashboardArrivalContextVisibilityTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TenantLifecycleActionNamingTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TenantLifecycleActionVisibilityTest.php feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
TenantMembershipsRelationManagerUiEnforcementTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TenantRequiredPermissionsTrustedStateTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TenantResourceAuthorizationTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
TriageReviewStateAuthorizationTest.php refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +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 refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
WorkspaceMembershipsRelationManagerUiEnforcementTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00
WorkspaceRoleCapabilityBoundaryTest.php fix: tighten workspace RBAC access boundaries (#364) 2026-05-15 14:00:21 +00:00