torkleyy
04/29/2022, 1:49 PMNeedle
04/29/2022, 1:49 PM/title
command!
We have solved your problem?
Click the button below to archive it.Needle
05/03/2022, 3:04 PMtorkleyy
05/03/2022, 3:08 PMauth.role()
in every single function, right?
Thank you.Olyno
05/03/2022, 3:21 PMpostgres
CREATE POLICY "policy_name"
ON public.matches
FOR INSERT WITH CHECK (
auth.role() = 'authenticated'
);
I'm not sure what you mean with ``so I would have to check auth.role() in every single function, right?`` 😅torkleyy
05/03/2022, 3:34 PM