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?



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.

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.