diff --git a/web/docs/guides/database/tables.mdx b/web/docs/guides/database/tables.mdx index 7f7ce3b5bf9..b05a196de2a 100644 --- a/web/docs/guides/database/tables.mdx +++ b/web/docs/guides/database/tables.mdx @@ -342,8 +342,7 @@ A View is a convenient shortcut to a query. Creating a view does not involve new :::caution -PostgreSQL views are called with the privileges of the role that created them. To enable Row Level Security you should change the owner to the "authenticated" role: -`alter view view_name owner to authenticated;`. +By default, PostgreSQL views bypass Row Level Security unless you change their owner (see https://github.com/supabase/supabase/discussions/901). PostgreSQL v15 (coming soon) will have a more intuitive control for this through [security invoker views](https://www.depesz.com/2022/03/22/waiting-for-postgresql-15-add-support-for-security-invoker-views/) and the previous step won't be needed. :::