TenantAtlas/tests/Feature
ahmido d32b2115a8 Spec 103: IA semantics (scope vs filter vs targeting) + UI polish (#126)
Implements Spec 103 (IA semantics: Scope vs Filter vs Targeting) across Monitoring + Manage.

Changes
- Monitoring tenant indicator copy: “All tenants” / “Filtered by tenant: …”
- Alerts KPI header resolves tenant via OperateHubShell::activeEntitledTenant() for consistency
- Manage list pages (Alert Rules / Destinations) no longer show tenant indicator
- AlertRule form uses targeting semantics + sections (Rule / Applies to / Delivery)
- Additional UI polish: resource sections, tenant view widgets layout, RBAC progressive disclosure (“Not configured” when empty)

Notes
- US6 (“Add current tenant” convenience button) intentionally skipped (optional P3).

Testing
- CI=1 vendor/bin/sail artisan test tests/Feature/TenantRBAC/ tests/Feature/Onboarding/OnboardingIdentifyTenantTest.php
- vendor/bin/sail bin pint --dirty --format agent

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #126
2026-02-21 00:28:15 +00:00
..
078 Spec 092: Legacy Purge (runs/routes/UI/test shims) (#110) 2026-02-14 18:43:56 +00:00
090 feat(spec-091): BackupSchedule lifecycle + create-CTA placement rule (#109) 2026-02-14 13:46:06 +00:00
Alerts feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
Audit Spec 094: Assignment ops observability hardening (#113) 2026-02-15 14:08:14 +00:00
Auth feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
BackupScheduling feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00
BackupSets 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
Badges feat(alerts): test message + last test status + deep links (#122) 2026-02-18 23:12:38 +00:00
Baselines Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
Console feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
Database Spec 096: Ops polish (assignment summaries + dedupe + reconcile tracking + seed DX) (#115) 2026-02-15 20:49:38 +00:00
DirectoryGroups feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
Drift feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00
Filament Spec 103: IA semantics (scope vs filter vs targeting) + UI polish (#126) 2026-02-21 00:28:15 +00:00
Graph Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
Guards Baseline governance UX polish + view Infolist (#123) 2026-02-19 23:56:09 +00:00
Inventory Spec 092: Legacy Purge (runs/routes/UI/test shims) (#110) 2026-02-14 18:43:56 +00:00
Jobs 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ManagedTenants 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
Models feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
Monitoring Spec 103: IA semantics (scope vs filter vs targeting) + UI polish (#126) 2026-02-21 00:28:15 +00:00
Notifications feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
Onboarding feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
Operations Spec 096: Ops polish (assignment summaries + dedupe + reconcile tracking + seed DX) (#115) 2026-02-15 20:49:38 +00:00
OpsUx Spec 103: IA semantics (scope vs filter vs targeting) + UI polish (#126) 2026-02-21 00:28:15 +00:00
ProviderConnections Spec 094: Assignment ops observability hardening (#113) 2026-02-15 14:08:14 +00:00
Providers feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
Rbac Spec 094: Assignment ops observability hardening (#113) 2026-02-15 14:08:14 +00:00
RequiredPermissions Settings foundation: workspace controls (#119) 2026-02-16 01:11:24 +00:00
Scheduling feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00
Seed Spec 096: Ops polish (assignment summaries + dedupe + reconcile tracking + seed DX) (#115) 2026-02-15 20:49:38 +00:00
SettingsFoundation feat: Workspace settings slices v1 (backup, drift, operations) (#120) 2026-02-16 03:18:33 +00:00
Spec085 Spec 103: IA semantics (scope vs filter vs targeting) + UI polish (#126) 2026-02-21 00:28:15 +00:00
TenantRBAC 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
Tenants feat(spec-089): provider connections tenantless UI (#107) 2026-02-12 16:35:13 +00:00
Verification feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
WorkspaceIsolation fix(onboarding): preserve workspace scope and consent flow (#117) 2026-02-15 22:27:55 +00:00
Workspaces Spec 077: Workspace Global Mode + context bar redundancy cleanup (#94) 2026-02-06 22:14:53 +00:00
AdminConsentCallbackTest.php fix(onboarding): preserve workspace scope and consent flow (#117) 2026-02-15 22:27:55 +00:00
AdminNewRedirectTest.php feat: unified managed tenant onboarding wizard (#88) 2026-02-03 17:30:15 +00:00
BackupItemReaddTest.php feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
BackupServiceVersionReuseTest.php feat: always capture policy when adding to backup (#22) 2026-01-02 14:33:29 +00:00
BackupWithAssignmentsConsistencyTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
BulkDeleteBackupSetsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkDeleteMixedStatusTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkDeletePoliciesAsyncTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkDeletePoliciesTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkDeleteRestoreRunsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkExportFailuresTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkExportToBackupTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkForceDeleteBackupSetsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkForceDeletePolicyVersionsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkForceDeleteRestoreRunsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkProgressNotificationTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
BulkPruneSkipReasonsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkPruneVersionsTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
BulkRestoreBackupSetsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkRestorePolicyVersionsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkRestoreRestoreRunsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
BulkSyncPoliciesTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
BulkTypeToConfirmTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
BulkUnignorePoliciesTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
DatabaseSeederTest.php fix: Harden SyncPoliciesJob supported types handling (#75) 2026-01-26 19:23:40 +00:00
DependencyExtractionFeatureTest.php feat(spec-091): BackupSchedule lifecycle + create-CTA placement rule (#109) 2026-02-14 13:46:06 +00:00
DependencyQueryServiceTest.php feat/042-inventory-dependencies-graph (#49) 2026-01-10 00:20:14 +00:00
DependencyTenantIsolationTest.php feat/042-inventory-dependencies-graph (#49) 2026-01-10 00:20:14 +00:00
DeviceComplianceScriptPolicyTypeTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
EndpointSecurityIntentRestoreSanitizationTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
EndpointSecurityPolicyRestore023Test.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
ExampleTest.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
ExecuteRestoreRunJobTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
FoundationBackupTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
InventoryItemDependenciesTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ManagedTenantOnboardingWizardTest.php fix(onboarding): preserve workspace scope and consent flow (#117) 2026-02-15 22:27:55 +00:00
MonitoringOperationsTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
OperationRunServiceStaleQueuedRunTest.php fix: Harden SyncPoliciesJob supported types handling (#75) 2026-01-26 19:23:40 +00:00
OperationRunServiceTest.php Spec 094: Assignment ops observability hardening (#113) 2026-02-15 14:08:14 +00:00
PolicyCaptureSnapshotIdempotencyTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
PolicyCaptureSnapshotQueuedTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
PolicyGeneralViewTest.php feat/017-policy-types-mam-endpoint-security-baselines (#23) 2026-01-03 02:06:35 +00:00
PolicySettingsStandardViewTest.php feat/017-policy-types-mam-endpoint-security-baselines (#23) 2026-01-03 02:06:35 +00:00
PolicySyncEnrollmentConfigurationTypeCollisionTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
PolicySyncServiceReportTest.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
PolicySyncServiceTest.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
PolicySyncStartSurfaceTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
PolicyTypes017Test.php feat: endpoint security restore execution (023) (#25) 2026-01-03 22:44:08 +00:00
PolicyVersionViewAssignmentsTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
ReclassifyEnrollmentConfigurationsCommandTest.php 014-enrollment-autopilot (#20) 2026-01-02 11:59:21 +00:00
RestoreAdapterTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
RestoreAssignmentApplicationTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
RestoreAuditLoggingTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
RestoreGraphErrorMetadataTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
RestoreGroupMappingTest.php 051-entra-group-directory-cache (#57) 2026-01-11 23:24:12 +00:00
RestorePreviewDiffWizardTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
RestoreRiskChecksWizardTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
RestoreRunArchiveGuardTest.php feat/031-tenant-portfolio-context-switch (#32) 2026-01-04 21:28:08 +00:00
RestoreRunIdempotencyTest.php feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
RestoreRunRerunTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
RestoreRunWizardExecuteTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
RestoreRunWizardMetadataTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
RestoreScopeTagMappingTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
RestoreUnknownPolicyTypeSafetyTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
RunAuthorizationTenantIsolationTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
RunStartAuthorizationTest.php Spec 092: Legacy Purge (runs/routes/UI/test shims) (#110) 2026-02-14 18:43:56 +00:00
SettingsCatalogDefinitionResolverTest.php Spec 095: Graph contracts registry completeness + registry-backed call sites (#114) 2026-02-15 15:02:27 +00:00
Spec080WorkspaceManagedTenantAdminMigrationTest.php feat(spec-090): action surface contract compliance (#108) 2026-02-13 01:30:22 +00:00
SyncPoliciesJobDispatchTest.php fix: Harden SyncPoliciesJob supported types handling (#75) 2026-01-26 19:23:40 +00:00
SyncPoliciesJobGraphDisabledTest.php fix: Harden SyncPoliciesJob supported types handling (#75) 2026-01-26 19:23:40 +00:00
SyncPoliciesJobSupportedTypesTest.php fix: Harden SyncPoliciesJob supported types handling (#75) 2026-01-26 19:23:40 +00:00
TermsAndConditionsPolicyTypeTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TrackOperationRunMiddlewareTest.php 054-unify-runs-suitewide (#63) 2026-01-17 22:25:00 +00:00
VersionCaptureMetadataOnlyTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
VersionCaptureWithAssignmentsTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00