-- EXISTS (SELECT 1 FROM public.profiles p WHERE p.id = auth.uid() AND p.role = 'admin') -- This queries the `profiles` table FROM WITHIN a policy ON `profiles`. -- Supabase evaluates RLS on every ...
-- which triggers the same policy check again. -- Drop and recreate all policies that query profiles to prevent recursion DROP POLICY IF EXISTS "Admins can view all profiles" ON public.profiles; DROP ...
If you are a SQL programmer, learning recursive SQL techniques can be a boon to your productivity. A recursive query is one that refers to itself. I think the best way to quickly grasp the concept of ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする