join schema structure with db authz

This commit is contained in:
steve-chavez
2023-05-03 17:47:54 -03:00
committed by Steve Chavez
parent 4f4ae27a2d
commit d1d159d1e0
5 changed files with 103 additions and 109 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ PostgREST does not enforce any extra constraints besides JWT validation. An exam
db-pre-request = "public.check_user"
In the function you can run arbitrary code to check the request and raise an exception(see :ref:`raise_error`) to block it if desired. You can take advantage of :ref:`guc_req_headers_cookies_claims` for
In the function you can run arbitrary code to check the request and raise an exception(see :ref:`raise_error`) to block it if desired. Here you can take advantage of :ref:`guc_req_headers_cookies_claims` for
doing custom logic based on the web user info.
.. code-block:: postgres