Commit Graph

21 Commits

Author SHA1 Message Date
mio256
8f616dfee3 docs: row-level-security.mdx, syntax error in create table user_id field (#28055)
Update row-level-security.mdx

syntax in create table user_id field
2024-07-19 20:12:27 +00:00
GaryAustin1
85de650034 Invalid SQL syntax in rls bypass section (#27738)
Unless there is some new SQL I'm not familiar the code shown:
`grant bypassrls on "table_name" to "role_name";`
Will not work and instead should be:
`alter role "role_name" with bypassrls;`
2024-07-01 17:54:54 -04:00
Joel Lee
7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Michael Chiche
e9750aa07c Update custom-claims-and-role-based-access-control-rbac.mdx (#26948)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:22:00 +00:00
Jon Meyers
d376fee166 Move embedded video to ToC (#26905)
move embedded video to toc
2024-05-31 14:55:06 +08:00
Felix Gabler
2a7bc47057 Update docs to maybe optimize RBAC functions performance (#22894)
docs: optimize RBAC functions performance

Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-05-30 08:07:07 +00:00
Jon Meyers
068d822568 Add indexing video embed to database docs page (#26745)
add indexing video embed
2024-05-24 17:23:36 +02:00
hallidayo
e606e1e5ca docs: metadata changes (#26626)
metadata changes

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-21 23:29:06 +00:00
raaed
29d96774fd Update row-level-security.mdx (#26155)
Fix typo: add missing "to"

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-13 18:58:30 +00:00
Charis
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Jon Meyers
07921b3723 Fix typo in RLS policy (#23428)
fix typo in RLS policy
2024-04-30 09:28:31 +02:00
Jonathan Summers-Muir
c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Kevin Grüneberg
e6bbe8e4d5 fix: rls example (#22853) 2024-04-18 09:35:25 +02:00
Charis
451c5c8f51 docs: add index advisor docs (#22700)
* docs: add index advisor docs

* Update apps/docs/content/guides/database/postgres/indexes.mdx

Co-authored-by: Oliver Rice <github@oliverrice.com>

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
2024-04-15 16:32:59 +00:00
GaryAustin1
ed6205ea2a Update row-level-security.mdx to fix aggressive bad SQL cleanup (#22746)
The cleanup last done to show better RLS SQL changed the bad example and is causing user confusion now that it is highlighted by the linter.
2024-04-15 12:23:43 -04:00
Charis
5d8cef6040 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
2024-04-11 12:56:11 -04:00
Chris Gwilliams
f40feb121e Update docs with replication role creation (#22208)
update docs with replication role
2024-03-25 09:46:37 -04:00
Charis
922a8f941d fix: update terminology around anonymous vs public/unauthenticated (#21814) 2024-03-07 14:39:07 -05:00
Vojtech Novak
dc9a58bb08 docs: mention RBAC in postgres roles (#21816)
* docs: mention RBAC in postgres roles

* Update apps/docs/content/guides/database/postgres/roles.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 17:10:40 +00:00
Charis
cb7c67864b chore: linting rule tweaks and error fixes (#21678) 2024-03-04 23:32:46 -05:00
Charis
b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00