coolify/app
Andras Bacsai df166ac689 fix(environment): scope DeleteEnvironment lookups to current team
Scope DeleteEnvironment::mount() and delete() lookups through
Environment::ownedByCurrentTeam() so an environment_id that belongs to
another team resolves to a 404 instead of loading the foreign record.
Mark $environment_id as #[Locked] so the public Livewire property can no
longer be reassigned from the client.

Add tests/Feature/DeleteEnvironmentTeamScopingTest.php covering mount,
delete, the #[Locked] guard, and the team-scoped helper for both the
cross-team and own-team cases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 12:37:48 +02:00
..
Actions feat(applications): add configurable stop grace period 2026-05-11 23:43:53 +02:00
Console fix(schedule): prevent duplicate SSL certificate regeneration 2026-05-21 19:19:43 +02:00
Contracts
Data refactor: simplify remote process chain and harden ActivityMonitor 2026-03-26 13:26:16 +01:00
Enums feat(buildpack): add Railpack as a build pack option 2026-03-23 17:12:02 +00:00
Events
Exceptions feat(observability): add structured audit log channel for API and webhook events 2026-04-28 14:50:37 +02:00
Helpers feat(server): add configurable SSH connection timeout per server 2026-04-28 15:39:36 +02:00
Http fix(applications): store custom nginx config from API correctly 2026-05-11 22:22:01 +02:00
Jobs feat(deployments): track application configuration diffs (#10183) 2026-05-13 10:49:53 +02:00
Listeners fix(proxy): defer UI refresh until Traefik version check completes 2025-12-27 15:16:58 +01:00
Livewire fix(environment): scope DeleteEnvironment lookups to current team 2026-05-22 12:37:48 +02:00
Mcp fix(mcp): change enable/disable endpoints from GET to POST and fix service/app listing 2026-05-05 22:07:58 +02:00
Models feat(deployments): track application configuration diffs (#10183) 2026-05-13 10:49:53 +02:00
Notifications feat(security): support expiration on API tokens with warning notifications 2026-04-20 14:28:38 +02:00
Policies chore: prepare for PR 2026-02-25 11:18:46 +01:00
Providers feat(horizon): suppress failed job entries for deployment/timeout errors on cloud 2026-04-29 15:40:01 +02:00
Repositories
Rules refactor(storage): tighten S3 endpoint URL validation 2026-04-20 11:50:19 +02:00
Services feat(deployments): track application configuration diffs 2026-05-13 09:58:58 +02:00
Support fix(env): validate Docker-compatible variable keys 2026-05-11 15:43:09 +02:00
Traits fix(sentinel): auto-regenerate invalid or undecryptable tokens 2026-04-29 16:44:12 +02:00
View/Components feat(forms): make textarea monospace opt-in and improve multiline toggle 2026-03-31 15:37:42 +02:00