The objective here is to disable access to the table and only perform actions using RPCs.
g
garyaustin
03/24/2022, 5:11 PM
rpc functions do not bypass rls on the tables by themselves. You have to define the function as "security definer". Then it will bypass all RLS, so you need to make sure you do what ever security you still need in the function.