created user in digitalocean managed pgadmin. How to set access permissions to table code example
Example: psql set access privileges
REVOKE ALL ON DATABASE example_database FROM example_user;
GRANT CONNECT ON DATABASE example_database TO example_user;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO example_user;