mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
tests
This commit is contained in:
@ -26,9 +26,9 @@ public function getTitle(): string|Htmlable
|
||||
return $this->script->name.' - Executions';
|
||||
}
|
||||
|
||||
public static function canAccess(): bool
|
||||
public function mount(): void
|
||||
{
|
||||
return auth()->user()?->can('view', get_from_route(Script::class, 'script')) ?? false;
|
||||
$this->authorize('view', $this->script);
|
||||
}
|
||||
|
||||
public function getWidgets(): array
|
||||
|
Reference in New Issue
Block a user