*/ protected $policies = [ // ]; /** * Register any authentication / authorization services. */ public function boot(): void { Gate::before(static function ($user) { return $user->hasRole('Super Admin') ? true : null; }); } }