An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(ui): Restrict service retrieval to current team
Andras Bacsaif98c58a0a3b3
diff --git a/app/Livewire/Project/Service/EditCompose.php b/app/Livewire/Project/Service/EditCompose.phpindex 8ece127907..b5f2089415 100644--- a/app/Livewire/Project/Service/EditCompose.php+++ b/app/Livewire/Project/Service/EditCompose.php@@ -31,12 +31,12 @@ class EditCompose extends Componentpublic function refreshEnvs(){- $this->service = Service::find($this->serviceId);+ $this->service = Service::ownedByCurrentTeam()->find($this->serviceId);}public function mount(){- $this->service = Service::find($this->serviceId);+ $this->service = Service::ownedByCurrentTeam()->find($this->serviceId);}public function validateCompose()