TenantAtlas/tests/Feature/Rbac
ahmido 1acbf8cc54 feat(spec-088): remove tenant graphOptions legacy path (#105)
## Summary
- remove tenant-based Graph options access from runtime service paths and enforce provider-only resolution
- add `MicrosoftGraphOptionsResolver` and `ProviderConfigurationRequiredException` for centralized, actionable provider-config errors
- turn `Tenant::graphOptions()` into a fail-fast kill switch to prevent legacy runtime usage
- add and update tests (including guardrail) to enforce no reintroduction in `app/`
- update Spec 088 artifacts (`spec`, `plan`, `research`, `tasks`, checklist)

## Validation
- `vendor/bin/sail bin pint --dirty`
- `vendor/bin/sail artisan test --compact --filter=NoLegacyTenantGraphOptions`
- `vendor/bin/sail artisan test --compact tests/Feature/Filament`
- `CI=1 vendor/bin/sail artisan test --compact`

## Notes
- Branch includes the guardrail test for legacy callsite detection in `app/`.
- Full suite currently green: 1227 passed, 5 skipped.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box>
Reviewed-on: #105
2026-02-12 10:14:44 +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
BackupItemsRelationManagerUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
CreateRestoreRunAuthorizationTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
DenialDiagnosticsTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
DriftLandingUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
EditProviderConnectionUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
EditTenantArchiveUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
EntraGroupSyncRunsUiEnforcementTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
FilamentManageEnforcementTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
InventoryItemResourceAuthorizationTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
OnboardingWizardUiEnforcementTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
PolicyVersionMaintenanceAuthorizationTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
PolicyVersionsRestoreToIntuneUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +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
TenantAdminAuthorizationTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantMembershipsRelationManagerUiEnforcementTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
TenantResourceAuthorizationTest.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +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(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
WorkspaceMembershipsRelationManagerUiEnforcementTest.php feat: workspace-first managed tenants + RBAC membership UI fixes (072) (#87) 2026-02-02 23:54:22 +00:00