Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
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;
|
||||
Reference in New Issue
Block a user