© 2026 Hedgehog Software, LLC
public static function canAccess(array $parameters = []): bool { return auth()->user()->id == 42; }
$this->getRecord()
public static function canAccess(array $parameters = []): bool { $currentRecord = $this->getRecord(); return auth()->user()->id == 42; }
Using $this when not in object context