Skip to content

chore: set search path in migration - #2410

Open
staaldraad wants to merge 6 commits into
developfrom
etienne/prodsec-248
Open

chore: set search path in migration#2410
staaldraad wants to merge 6 commits into
developfrom
etienne/prodsec-248

Conversation

@staaldraad

Copy link
Copy Markdown
Member

A number of Supabase owned functions are created without a search_path. This breaks from best practice and can lead to unintended side-effects if the current_user search_path changes.

@staaldraad
staaldraad requested review from a team as code owners August 31, 2026 12:52
Comment thread migrations/db/migrations/20260820000001_rescope_pg_graphql_access_trigger.sql Outdated

@imor imor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, graphql_public.graphql no longer set search_path to empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants