-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revoke default privileges for new users #88
Comments
Is this what you are looking for? https://www.pulumi.com/docs/reference/pkg/postgresql/defaultprivileges/ |
hi @stack72 , DefaultPrivileges is working with object types: table, function, sequence, type) but not database. I tried to use Grant instead of DefaultPrivileges and it also doesn't seems to work correctly. Let me create simple repository to reproduce result easily. |
Same issue here, how can we revoke default PUBLIC role connect, temporary on Database? |
Here is the link to the upstream issue regarding GRANT not working: cyrilgdn/terraform-provider-postgresql#133 |
Hello, I posted the solution I found on the upstream issue. In short, I had to set up a new PostgreSQL provider using the database owner’s credentials, which I used with |
New users actually can connect and create tables by default. I would like to know how can I do revoke with pulumi/postgresql. Thanks
The text was updated successfully, but these errors were encountered: