v0.1.0
Authorization
// in app/Providers/NovaServiceProvder.php
// ...
public function tools()
{
return [
// ...
(new \KABBOUCHI\LogsTool\LogsTool())
->canSee(function ($request) {
return true;
})
->canDownload(function ($request) {
return true;
})
->canDelete(function ($request) {
return false;
}),
];
}