TenantAtlas/app/Filament/Pages
ahmido 38d9826f5e feat: workspace context enforcement + ownership safeguards (#86)
Implements workspace-first enforcement and UX:
- Workspace selected before tenant flows; /admin routes into choose-workspace/choose-tenant
- Tenant lists and default tenant selection are scoped to current workspace
- Workspaces UI is tenantless at /admin/workspaces

Security hardening:
- Workspaces can never have 0 owners (blocks last-owner removal/demotion)
- Blocked attempts are audited with action_id=workspace_membership.last_owner_blocked + required metadata
- Optional break-glass recovery page to re-assign workspace owner (audited)

Tests:
- Added/updated Pest feature tests covering redirects, scoping, tenantless workspaces, last-owner guards, and break-glass recovery.

Notes:
- Filament v5 strict Page property signatures respected in RepairWorkspaceOwners.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box>
Reviewed-on: #86
2026-02-02 23:00:56 +00:00
..
Auth 063-entra-signin (#76) 2026-01-27 16:38:53 +00:00
Monitoring 059-unified-badges (#71) 2026-01-22 23:44:51 +00:00
Tenancy feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
Workspaces feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
BreakGlassRecovery.php feat: implement auth structure system panel (#77) 2026-01-27 21:49:18 +00:00
ChooseTenant.php feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
ChooseWorkspace.php feat: workspace context enforcement + ownership safeguards (#86) 2026-02-02 23:00:56 +00:00
DriftLanding.php 066-rbac-ui-enforcement-helper (#81) 2026-01-30 16:58:02 +00:00
InventoryCoverage.php 058-tenant-ui-polish (#70) 2026-01-22 00:17:23 +00:00
InventoryLanding.php 058-tenant-ui-polish (#70) 2026-01-22 00:17:23 +00:00
NoAccess.php feat: workspace context enforcement (specs 070–072) (#85) 2026-02-02 10:07:41 +00:00
TenantDashboard.php feat(058): tenant dashboard + active-runs gating (#68) 2026-01-21 14:00:42 +00:00
TenantDiagnostics.php feat: RBAC troubleshooting & tenant UI bugfix pack (spec 067) (#84) 2026-01-31 20:09:25 +00:00