app->isDownForMaintenance() && optional(auth()->user())->hasRoleName('Admin') ) { return $next($request); } return parent::handle($request, $next); } }