Skip to content
Discussion options

You must be logged in to vote

v11 introduced "Configurable role settings" (#2561), see: https://docs.postgrest.org/en/v16/references/transactions.html#impersonated-role-settings.

This means that a search_path that is set on the role that is present in the JWT, will be switched into. In your case, this will have the search path set to just api, but not public.

I'd suggest to remove that.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mdr1384
Comment options

Comment options

You must be logged in to vote
1 reply
@mdr1384
Comment options

Answer selected by mdr1384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants