mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-10-21 11:06:17 +00:00
All P2P table RLS policies used auth.uid() which returns NULL since users authenticate via wallet, not Supabase Auth. Replace with open access policies. Financial security maintained through SECURITY DEFINER RPC functions (escrow lock/release/refund, process_deposit, request_withdraw).