Postgresql – Automatically give grants to particular users PostgreSQL

permissionspostgresql

Every time when someone creates a table I have to give grants on select, insert, and so on to particular users. Are there any solutions to make it automatically?

Thanks!

Best Answer

There is alter default privileges, but this does not accept a wild card for the users it will apply to (i.e. the creating roles). You have to list every possible creating user, which is quite a drag.