TenantAtlas/specs/080-workspace-managed-tenant-admin/quickstart.md

1.0 KiB

Quickstart — Spec 080 Workspace-Managed Tenant Administration Migration

Prereqs

  • Laravel Sail is used for local dev.

Run locally

  • Start services: vendor/bin/sail up -d
  • Install deps (if needed): vendor/bin/sail composer install

What to verify manually

  1. Select a workspace (existing flow)
  2. Visit workspace-managed tenant admin:
    • /admin/tenants
    • /admin/tenants/{tenant}
  3. Visit tenant operate routes only when entitled:
    • /admin/t/{tenant}/…
  4. Confirm removed tenant-scoped management URLs return 404:
    • /admin/t/{tenant}/provider-connections
    • /admin/t/{tenant}/required-permissions

Run targeted tests

  • Run Spec 080 test file (to be created in Phase 2):
    • vendor/bin/sail artisan test --compact tests/Feature/Spec080WorkspaceManagedTenantAdminMigrationTest.php

Formatting

  • Format touched files: vendor/bin/sail bin pint --dirty

Deployment note

This feature changes route registration via Filament panel providers. No migrations are expected.