Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation for setting the search_path #58

Open
tvogel opened this issue Nov 15, 2024 · 0 comments
Open

Annotation for setting the search_path #58

tvogel opened this issue Nov 15, 2024 · 0 comments

Comments

@tvogel
Copy link

tvogel commented Nov 15, 2024

As leaving the search_path unspecified is a security risk (when using SECURITY DEFINER), see https://supabase.com/docs/guides/database/database-advisors?queryGroups=lint&lint=0011_function_search_path_mutable, it would be great if there was a jsdoc annotation that allowed to specify the search_path and defaulting to an empty search_path.

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

No branches or pull requests

1 participant