TenantAtlas/apps/platform
ahmido fcb03d2aee feat: harden provider connection authority resolution (339) (#410)
## Summary
- harden Provider Connection authority so workspace scope comes only from explicit workspace context and record ownership
- require explicit `environment_id` for Provider Connection create flows and remove remembered-environment or Filament-tenant fallback authority
- keep legacy query aliases such as `tenant`, `tenant_id`, and `managed_environment_id` inert for Provider Connection access
- add targeted Spec 339 feature coverage for create authority, workspace authority, and wrong-workspace / legacy-query denial behavior
- include Spec 339 artifacts (`spec.md`, `plan.md`, `tasks.md`) for the hardening slice

## Validation
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/ProviderConnections --filter=ScopeHardening`

## Notes
- no new uncommitted workspace changes were present to commit in this turn; the branch already contained the feature commits
- Livewire v4 compliance unchanged
- Filament provider registration remains in `bootstrap/providers.php`
- no migrations, new assets, or route-family restructures

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #410
2026-05-31 11:59:41 +00:00
..
.pnpm-store/v10 Spec 235: harden baseline truth and onboarding flows (#271) 2026-04-24 05:44:54 +00:00
app feat: harden provider connection authority resolution (339) (#410) 2026-05-31 11:59:41 +00:00
bootstrap feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +00:00
config refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
database refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
drizzle Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
lang feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
public Automated: 268-operationrun-activity-feedback — commit & PR (#324) 2026-05-04 12:17:15 +00:00
resources feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
routes Spec 329: productize evidence and audit log disclosure (#390) 2026-05-19 21:34:23 +00:00
storage Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
tests feat: harden provider connection authority resolution (339) (#410) 2026-05-31 11:59:41 +00:00
.env.example feat(specs/256): external support desk handoff (#301) 2026-04-29 20:16:40 +00:00
artisan Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
composer.json feat: implement runtime trend recalibration reporting (#244) 2026-04-18 07:36:05 +00:00
composer.lock Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
drizzle.config.ts Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
package.json feat: implement workspace foundation website app (#214) 2026-04-08 12:20:31 +00:00
patch_aside.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch_readiness.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch_test.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch_view.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch.diff Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
phpunit.pgsql.xml Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
phpunit.xml Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
pnpm-lock.yaml feat: compress governance operator outcomes (#253) 2026-04-19 12:30:36 +00:00
revert.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
vite.config.js Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00