-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
permission denied for table http_request_queue as an authenticated user #72
Comments
The issue is fixed by applying this supabase/supabase#4883 (comment) Nevertheless, the expectation is that pg_net, when enabled on supabase, automatically applies the correct permissions. |
We still get support tickets related to this issue. It seems that some tool resets all the Lines 365 to 366 in 4c1ca73
The solution should be to instead grant all privileges to https://github.com/citusdata/pg_cron/blob/main/pg_cron.sql#L27 |
We have the same error right now. Running the fix gives the result
|
Ran into the same thing this morning. Tried running the queries in that suggestion, same I saw another say turn pg_net off and on again and that seemed to do the trick. |
Yeah this issue just happened to us as well. I see they have another ticket for this but it's locked: https://github.com/orgs/supabase/discussions/21450 |
Bug report
Describe the bug
After pg_net got upgraded, it throws a permission denied for table http_request_queue when trying to make a request as an authenticated user.
To Reproduce
Upgrade to the latest version and attempt to make a http request using the authenticated role.
Expected behavior
Assumption is that any supabase extension works out of the box with the role and auth setup in the database. If it is expected behaviour, it should be documented somewhere.
The text was updated successfully, but these errors were encountered: