Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

network-level ban

Pedro Ladeira6c49d1a9e137
diff --git a/apps/web/app/(ee)/admin.dub.co/(dashboard)/partners/fraud/flag-partner-fraud-sheet.tsx b/apps/web/app/(ee)/admin.dub.co/(dashboard)/partners/fraud/flag-partner-fraud-sheet.tsx
index fc7243128c..34486f6ef4 100644
--- a/apps/web/app/(ee)/admin.dub.co/(dashboard)/partners/fraud/flag-partner-fraud-sheet.tsx
+++ b/apps/web/app/(ee)/admin.dub.co/(dashboard)/partners/fraud/flag-partner-fraud-sheet.tsx
@@ -121,7 +121,7 @@ function FlagPartnerFraudSheetContent({
const { setShowConfirmModal, confirmModal } = useConfirmModal({
title: "Confirm fraud",
description:
- "This will confirm fraud for this partner and alert their enrolled programs through the cross-program ban risk rule. This action cannot be undone.",
+ "This will confirm fraud for this partner and alert their enrolled programs through the network-level ban risk rule. This action cannot be undone.",
confirmText: "Confirm Fraud",
confirmVariant: "danger",
onConfirm: handleFlag,
diff --git a/apps/web/lib/api/fraud/constants.ts b/apps/web/lib/api/fraud/constants.ts
index 1c2265b527..7d60f74b7c 100644
--- a/apps/web/lib/api/fraud/constants.ts
+++ b/apps/web/lib/api/fraud/constants.ts
@@ -40,9 +40,9 @@ export const FRAUD_RULES: FraudRuleInfo[] = [
// Partner rules
{
type: "partnerCrossProgramBan",
- name: "Cross-program ban",
+ name: "Network-level ban",
description:
- "This partner was banned from another program on Dub. Our team reviewed this decision and confirmed the fraudulent behavior or terms of service violation.",
+ "This partner was banned at the network level on Dub. Our team reviewed this decision and confirmed the fraudulent behavior or terms of service violation.",
scope: "partner",
severity: "high",
configurable: true,