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

It appears that there is no way to grant a role to a user/role? #3983

Open
jmcdonagh opened this issue Sep 3, 2024 · 1 comment
Open

It appears that there is no way to grant a role to a user/role? #3983

jmcdonagh opened this issue Sep 3, 2024 · 1 comment

Comments

@jmcdonagh
Copy link

In some cases we will GRANT a role to another role that has the INHERIT option. I'm not seeing in the docs how to do this. So if this isn't possible, I want this to be a feature request. If it is possible, I'd like to know how. Thanks!

@andrewlecuyer
Copy link
Collaborator

Hi @jmcdonagh!

You can define roles and other options for any users defined via spec.users (e.g. INHERIT or NOINHERIT) by adjusting the options for the user, as shown in the following docs:

https://access.crunchydata.com/documentation/postgres-operator/latest/tutorials/basic-setup/user-management#adjusting-privileges

Hope this helps!

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

2 participants