check() || !auth()->user()->isAdmin()) { abort(403, 'Unauthorized action. Admin access required.'); } return $next($request); } }