Sub / supabase /grants_public_user.sql
Himankpro's picture
Upload 93 files
3a6c182 verified
Raw History Blame Contribute Delete
363 Bytes
-- Required when login/sign-up run in the browser against public."User" (Supabase anon key).
-- Run in SQL Editor after your "User" table exists.
grant usage on schema public to anon, authenticated;
grant select, insert on table public."User" to anon;
-- Production: prefer hashed passwords + RPC/Edge Function instead of plain Password in the client.