The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix secrets perms (#30321)
Joshen Lima0aed35e01a1
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsxindex ba5212aafdf..21766dcdd14 100644--- a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx@@ -12,7 +12,7 @@ interface EdgeFunctionSecretProps {}const EdgeFunctionSecret = ({ secret, onSelectDelete }: EdgeFunctionSecretProps) => {- const canUpdateSecrets = useCheckPermissions(PermissionAction.FUNCTIONS_WRITE, '*')+ const canUpdateSecrets = useCheckPermissions(PermissionAction.SECRETS_WRITE, '*')// [Joshen] Following API's validation:// https://github.com/supabase/infrastructure/blob/develop/api/src/routes/v1/projects/ref/secrets/secrets.controller.ts#L106const isReservedSecret = !!secret.name.match(/^(SUPABASE_).*/)