mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Update web/docs/guides/database/tables.mdx
This commit is contained in:
1 parent
7650377814
commit
d0fbfbb8e4
1 file changed
+2
-1
@@ -342,7 +342,8 @@ A View is a convenient shortcut to a query. Creating a view does not involve new
|
||||
|
||||
:::caution
|
||||
|
||||
PostgreSQL views do not support Row Level Security. This will be released in PostgreSQL v15. Only expose views to your API if the data is considered public.
|
||||
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;`.
|
||||
|
||||
:::
|
||||
|
||||
|
||||
Reference in new issue
Block a user