wip
This commit is contained in:
1 parent
6dab1a38c6
commit
d157c21883
2 files changed
+38
-2
No files matched your search
@@ -174,12 +174,18 @@ public function actions(NovaRequest $request): array
|
||||
]);
|
||||
})->icon('server')
|
||||
->sole()
|
||||
->withoutConfirmation(),
|
||||
->withoutConfirmation()
|
||||
->canSee(function ($request) {
|
||||
return auth()->user()->isSystemUser();
|
||||
}),
|
||||
|
||||
SyncWithSystem::make()
|
||||
->icon('cloud')
|
||||
->sole()
|
||||
->withoutConfirmation(),
|
||||
->withoutConfirmation()
|
||||
->canSee(function ($request) {
|
||||
return auth()->user()->isAdmin();
|
||||
}),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user