*/ protected $policies = [ // ]; /** * Register any authentication / authorization services. */ public function boot(): void { Gate::before(function ($user, $ability) { if ($user->email === env('MAILMASTER')) { return true; } }); } }