TenantAtlas/apps/platform/app
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
..
Console/Commands feat: retire legacy tenant route surfaces (#352) 2026-05-12 23:35:03 +00:00
Contracts/Hardening feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
Exceptions 247: plans entitlements billing readiness (#287) 2026-04-27 17:35:04 +00:00
Filament feat: harden provider connection authority resolution (339) (#410) 2026-05-31 11:59:41 +00:00
Http feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Jobs feat: implement decision register summary in environment review packs (#363) 2026-05-15 12:54:41 +00:00
Listeners Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Livewire feat: productize restore wizard preview safety gates and process flow (#399) 2026-05-26 00:08:25 +00:00
Models Spec 330: environment dashboard baseline compare productization (#392) 2026-05-20 20:32:39 +00:00
Notifications feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
Observers feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
Policies feat: harden provider connection authority resolution (339) (#410) 2026-05-31 11:59:41 +00:00
Providers feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
Rules feat: productize restore wizard preview safety gates and process flow (#399) 2026-05-26 00:08:25 +00:00
Services feat: productize restore wizard preview safety gates and process flow (#399) 2026-05-26 00:08:25 +00:00
Support feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00