mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 05:37:56 +00:00
6cfc64475c
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).