public function panel(Panel $panel): Panel
{
return $panel
->resources([
config('filament-logger.activity_resource')
])
}
I want to hide that resources from all user types except my admin.
public function panel(Panel $panel): Panel
{
return $panel
->resources([
config('filament-logger.activity_resource')
])
}
I want to hide that resources from all user types except my admin.
https://filamentphp.com/docs/3.x/panels/installation#allowing-users-to-access-a-panel
By default, all
Usermodels can access Filament locally. However, when deploying to production, you must update yourApp\Models\User.phpto implement theFilamentUsercontract — ensuring that only the correct users can access your panel: