Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update apps/www/_blog/2022-11-22-flutter-authorization-with-rls.mdx

Tylerb31cae06f033
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 241fed9eb8f..a84c58f6609 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
@@ -1357,7 +1357,7 @@ class MyApp extends StatelessWidget {
### Step 4: Authorization with Row Level Security (RLS)
-At this point, we seemingly have a complete app, except if we open the app right now, we will see every user's room with all the messages that have ever been sent within the app by any user.
+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.
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.