1.6 KiB
1.6 KiB
Quickstart: Tenant Operate Hub / Tenant Overview IA
Date: 2026-02-09
Branch: 085-tenant-operate-hub
Local setup
- Start containers:
vendor/bin/sail up -d - Install deps (if needed):
vendor/bin/sail composer install
Manual verification steps (happy path)
- Sign in.
- Select a workspace (via the context bar).
- Enter a tenant context (e.g., go to
/admin/t/{tenant}via the tenant panel). - In the tenant panel sidebar, open the Monitoring group and click:
- Runs → lands on
/admin/operations
- Runs → lands on
- Verify
/admin/operationsshows:- Header scope:
Scope: Tenant — <tenant name> - CTAs:
Back to <tenant name>andShow all tenants - The table default scope is tenant-filtered to the active tenant.
- Header scope:
- Click
Show all tenants. - Verify you stay on
/admin/operationsand scope becomesScope: Workspace — all tenants. - Open an operation run detail at
/admin/operations/{run}. - Verify the header shows:
← Back to <tenant name>- secondary
Show all operations→/admin/operations
- Click
← Back to <tenant name>and verify it lands on the tenant dashboard (/admin/t/{tenant}).
Negative verification (security)
- With tenant context active, revoke tenant entitlement for the test user.
- Reload
/admin/operations. - Verify scope is workspace-wide and no tenant name / “Back to tenant” affordance appears.
- Request the tenant dashboard URL directly (
/admin/t/{tenant}) and verify deny-as-not-found.
Test commands (to be added in Phase 2)
- Targeted suite:
vendor/bin/sail artisan test --compact --filter=OperationsIndexScopeTest