I wonder if it's possible to deny access to all tables/views and only allow to functions? I just want to control the data I pass.
I can't disable access with pg roles for the tables, cause the functions use the same tables.
I can put on NGINX before PostgREST and disable anything that doesn't start with /rpc, but that the only way?