Skip to content

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.

fix: ensure authorization check is performed during component mount

Andras Bacsaid4fb69ea9835
diff --git a/app/Livewire/Project/Shared/HealthChecks.php b/app/Livewire/Project/Shared/HealthChecks.php
index 8c0ed854ca..a9ac35e707 100644
--- a/app/Livewire/Project/Shared/HealthChecks.php
+++ b/app/Livewire/Project/Shared/HealthChecks.php
@@ -96,6 +96,7 @@ class HealthChecks extends Component
public function mount()
{
+ $this->authorize('view', $this->resource);
$this->syncData(false);
}