mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 11:18:01 +00:00
341b6f6644
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).