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

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

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

Regards, KFSys