Question

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

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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