*/ protected $policies = [ // ]; /** * Register any authentication / authorization services. */ public function boot(): void { Gate::define('viewPulse', function (User $user) { return in_array($user->email, ['romain@rodev.fr', 'romain@delanoe.me']); }); } }