git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 23fc0b4) | patch
Make BYPASSRLS behave like superuser RLS bypass.
Sun, 4 Oct 2015 00:19:57 +0000 (20:19 -0400)
Sun, 4 Oct 2015 00:19:57 +0000 (20:19 -0400)
commit 3cb0a7e75aaa9a7826c769068970ce2200e61023
Make BYPASSRLS behave like superuser RLS bypass.

Specifically, make its effect independent from the row_security GUC, and
make it affect permission checks pertinent to views the BYPASSRLS role
owns. The row_security GUC thereby ceases to change successful-query
behavior; it can only make a query fail with an error. Back-patch to
9.5, where BYPASSRLS was introduced.
doc/src/sgml/catalogs.sgml diff | blob | blame | history
doc/src/sgml/config.sgml diff | blob | blame | history
doc/src/sgml/ddl.sgml diff | blob | blame | history
doc/src/sgml/ref/create_role.sgml diff | blob | blame | history
src/backend/utils/misc/rls.c diff | blob | blame | history
src/include/catalog/pg_authid.h diff | blob | blame | history
src/test/regress/expected/rowsecurity.out diff | blob | blame | history
src/test/regress/sql/rowsecurity.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /