Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 18:17:39 +00:00
co-authored by renee-png
parent ef5bf529c8
commit db2df56da8
@@ -0,0 +1,9 @@
-- Allow public (anon) to read minimal payment_request fields by id for the pay page
CREATE POLICY "pr_select_public_by_id"
ON public.payment_requests
FOR SELECT
TO anon, authenticated
USING (true);
-- Drop the old auth-only select policy that's now redundant
DROP POLICY IF EXISTS pr_select_auth ON public.payment_requests;