mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix: update all examples and snippets to use select for auth rls func… (#22632)
fix: update all examples and snippets to use select for auth rls functions
This commit is contained in:
1 parent
b07f8304e0
commit
5d8cef6040
48 files changed
+151
-152
No files matched your search
@@ -35,7 +35,7 @@ create policy "Users can view private_posts if they have signed in via MFA"
|
||||
on public.private_posts
|
||||
for select
|
||||
to authenticated
|
||||
using (auth.jwt()->>'aal' = 'aal2');
|
||||
using ((select auth.jwt()->>'aal') = 'aal2');
|
||||
```
|
||||
|
||||
- Run the app and test the login flow 🚀
|
||||
|
||||
Reference in new issue
Block a user