Question

How to create a user in Postgresql with required privileges without superuser

Posted September 21, 2021 81 views
PostgreSQLDigitalOcean Managed PostgreSQL Database

I need to create several users and grant them an access to the tables on the row level.
How can I do it in DO without superuser privileges?
Appreciate any suggestions

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @urban4ik,

At the moment, you can modify the permissions of users you’ve assigned to your Database using third-party tools like psql.

I’ll recommend checking out the PostgreSQL Managed documentation here:

https://docs.digitalocean.com/products/databases/postgresql/how-to/modify-user-privileges/

In there you should be able to find examples of how to manage permissions of created users and change them.

Regards,
KFSys