Closed steve-chavez closed 7 months ago
Looking at the linked issue, if some tool is resetting the privileges on these functions, I don't think moving them to the tables would help.
pg_cron is an example of the contrary, because it only grants select
(and even then, only for cron.job
and not for cron.job_run_details
) and inserts are done through a kinda-sorta secdef function.
If we're sure about granting to public
(which I'm still not sure what the implications are) it seems a more incremental change would be to keep the functions as secdef but grant execute
to public
.
Right, maybe we should leave the privileges as is. #72 has been rare until now.
Closes #72
Also bumps version to 0.8.0. Includes the change from https://github.com/supabase/pg_net/pull/123