From a7a529eaba94f22c22c3c309d4034b3463094035 Mon Sep 17 00:00:00 2001 From: Tyler <18113850+dshukertjr@users.noreply.github.com> Date: Thu, 13 Jul 2023 13:50:06 +0900 Subject: [PATCH] Update apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx Co-authored-by: Greg Richardson --- apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx b/apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx index a84c58f6609..86e75ff4c63 100644 --- a/apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx +++ b/apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx @@ -1358,7 +1358,7 @@ class MyApp extends StatelessWidget { ### Step 4: Authorization with Row Level Security (RLS) At this point, we seemingly have a complete app. But if we open the app right now, we will see every users' room along with all the messages that have ever been sent. -This is because we have not set up Row Level Security to prevent unauthorized users to access the rooms yet. +This is because we have not set up Row Level Security to prevent users from accessing rooms that don't belong to them. There are two ways we can define Row Level Security policies in Supabase, with the GUI or through SQL, but we will set them using SQL today. Let's run the following SQL to set the security policy.