route('login'); } if (!in_array(Auth::user()->role, $roles)) { abort(403, 'Akses tidak diizinkan.'); } return $next($request); } }