The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Skip permissions checking in ProjectList for self hosted
Joshen Limf8c5e6f4c422
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsxindex 8f0d99c1947..32472e694b4 100644--- a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx@@ -3,6 +3,7 @@ import { Button, IconPlus } from 'ui'import { useRouter } from 'next/router'import { observer } from 'mobx-react-lite'+import { IS_PLATFORM } from 'lib/constants'import { checkPermissions, useStore } from 'hooks'import { Organization, Project } from 'types'import { makeRandomString } from 'lib/helpers'@@ -20,7 +21,7 @@ const ProjectList: FC<Props> = ({ rewriteHref }) => {const { organizations, projects } = appconst { isLoading: isLoadingProjects } = projects- const isLoadingPermissions = (ui?.permissions ?? []).length === 0+ const isLoadingPermissions = IS_PLATFORM ? (ui?.permissions ?? []).length === 0 : falsereturn (<>