TenantAtlas/tests/Feature/TenantRBAC
ahmido 73a879d061 feat: implement spec 147 tenant context enforcement (#176)
## Summary
- implement Spec 147 for workspace-first tenant selector and remembered tenant context enforcement
- harden canonical and tenant-bound route behavior so selected tenant mismatch stays informational
- fix drift finding subject fallback for workspace-safe RBAC identifiers and centralize finding subject resolution

## Testing
- vendor/bin/sail artisan test --compact tests/Feature/Filament/FindingViewRbacEvidenceTest.php tests/Feature/Findings/FindingsListDefaultsTest.php
- vendor/bin/sail bin pint --dirty --format agent

## Notes
- branch pushed at de0679cd8b
- includes the spec artifacts under specs/147-tenant-selector-remembered-context-enforcement/

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #176
2026-03-16 22:52:58 +00:00
..
ArchivedTenantRouteAccessTest.php feat: implement spec 147 tenant context enforcement (#176) 2026-03-16 22:52:58 +00:00
BreakGlassRecoveryTest.php feat: implement auth structure system panel (#77) 2026-01-27 21:49:18 +00:00
LastOwnerGuardTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
MembershipAuditLogTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
RoleDefinitionsSyncNowTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantBootstrapAssignTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
TenantDiagnosticsAccessTest.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
TenantGuidVsBigintGuardTest.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00
TenantMembershipCrudTest.php 065-tenant-rbac-v1 (#79) 2026-01-28 21:09:47 +00:00
TenantRouteDenyAsNotFoundTest.php feat: implement spec 147 tenant context enforcement (#176) 2026-03-16 22:52:58 +00:00
TenantSwitcherScopeTest.php feat: implement spec 147 tenant context enforcement (#176) 2026-03-16 22:52:58 +00:00