Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat: add auth db connection strategy linter (#41165)

Stojan Dimitrovski3f885d0531c4
diff --git a/apps/studio/components/interfaces/Linter/Linter.utils.tsx b/apps/studio/components/interfaces/Linter/Linter.utils.tsx
index 8af1b8204ea..b66f4913196 100644
--- a/apps/studio/components/interfaces/Linter/Linter.utils.tsx
+++ b/apps/studio/components/interfaces/Linter/Linter.utils.tsx
@@ -5,6 +5,7 @@ import {
Lock,
LockIcon,
Ruler,
+ Scaling,
Table2,
TextSearch,
Unlock,
@@ -163,6 +164,15 @@ export const lintInfoMap: LintInfo[] = [
docsLink: `${DOCS_URL}/guides/platform/going-into-prod#security`,
category: 'security',
},
+ {
+ name: 'auth_db_connections_absolute',
+ title: 'Auth Absolute Connection Management Strategy',
+ icon: <Scaling className="text-foreground-muted" size={15} strokeWidth={1} />,
+ link: ({ projectRef }) => `/project/${projectRef}/auth/performance`,
+ linkText: 'View settings',
+ docsLink: `${DOCS_URL}/guides/platform/going-into-prod`,
+ category: 'performance',
+ },
{
name: 'rls_references_user_metadata',
title: 'RLS references user metadata',