create read only user

This commit is contained in:
Simon Larsen 2023-05-01 12:50:25 +01:00
parent 3dc1dbfe25
commit 0af4a71062
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -0,0 +1,2 @@
CREATE ROLE readonlyuser WITH LOGIN PASSWORD '<password>'
GRANT pg_read_all_data TO readonlyuser;