1

I want to create a role which by default isn't allowed to do anything. It has basically zero permissions. Starting from such role, I want to grant the minimal set of permissions.

How can you make a role without any kind of permissions?

1

Just use

CREATE ROLE foo;

Be aware of default privileges (https://www.postgresql.org/docs/current/static/sql-alterdefaultprivileges.html).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.