mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
migrating tests (Application, Console and Cronjob)
This commit is contained in:
@ -20,9 +20,9 @@ class Settings extends Page
|
||||
|
||||
protected $listeners = ['$refresh'];
|
||||
|
||||
public static function canAccess(): bool
|
||||
public function mount(): void
|
||||
{
|
||||
return auth()->user()?->can('update', static::getServerFromRoute()) ?? false;
|
||||
$this->authorize('update', $this->server);
|
||||
}
|
||||
|
||||
public function getWidgets(): array
|
||||
|
Reference in New Issue
Block a user