Skip to content
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

Add operator user to created roles by default #110

Open
tstenner opened this issue Jun 27, 2023 · 0 comments
Open

Add operator user to created roles by default #110

tstenner opened this issue Jun 27, 2023 · 0 comments

Comments

@tstenner
Copy link

Creating a database fails unless the operator user is either SUPERUSER (not the case in some public clouds) or is in the new owner role.

The issue can be reproduced locally with a non-superuser role:

CREATE ROLE pgoperator WITH
	PASSWORD 'pgoperator'
	LOGIN
	CREATEDB
	CREATEROLE;

GRANTing the created role to the operator user is already done as a workaround for some clouds, but it should be done by default. It doesn't hurt when the user has SUPERUSER privileges and makes some already implemented and needed workarounds (e.g. for the IBM cloud) unnecessary.

@tstenner tstenner mentioned this issue Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant