fix: ensure authorization check is performed during component mount

This commit is contained in:
Andras Bacsai 2025-10-16 13:23:50 +02:00
parent cdf6b5f161
commit d4fb69ea98

View file

@ -96,6 +96,7 @@ private function syncData(bool $toModel = false): void
public function mount()
{
$this->authorize('view', $this->resource);
$this->syncData(false);
}