From e2fe23e58ded1f7fb4f5927cea421b7b4182b86b Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Wed, 7 Aug 2024 22:14:13 +0200 Subject: [PATCH] Update documentation --- docs/ERD/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/ERD/README.md b/docs/ERD/README.md index e81c289..c81727e 100644 --- a/docs/ERD/README.md +++ b/docs/ERD/README.md @@ -124,5 +124,13 @@ SELECT * from public.process_queue; If you just want to use this as a standalone application and don't want people to be able to sign up for an account. ```SQL -revoke execute on function api.signup(text,text,text,text) to api_anonymous; +REVOKE execute on function api.signup(text,text,text,text) to api_anonymous; ``` + +### How to disable completely anonymous access + +If you just want to use this as a standalone application and don't want people to be able to access public account. + +```SQL +REVOKE SELECT ON ALL TABLES IN SCHEMA api TO api_anonymous; +``` \ No newline at end of file