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

Allow role in superuser_whitelist #7

Closed
JMLessard opened this issue Sep 15, 2017 · 1 comment
Closed

Allow role in superuser_whitelist #7

JMLessard opened this issue Sep 15, 2017 · 1 comment
Assignees

Comments

@JMLessard
Copy link

JMLessard commented Sep 15, 2017

Would it be possible to specify a role in the superuser_whitelist so that role members can switch to superuser.

Like the pg_hba.conf, role may have a plus sign prefix to make the difference with a user.
# TYPE DATABASE USER ADDRESS METHOD
host all +admin 0.0.0.0/0 md5

@mpalmi
Copy link
Collaborator

mpalmi commented Sep 15, 2017

Good suggestion. That is certainly doable. Expect an update soon.

@mpalmi mpalmi self-assigned this Sep 16, 2017
mpalmi added a commit that referenced this issue Feb 8, 2018
This feature adds support for '+<group_role>' syntax in the superuser
whitelist. This should allow users to be added to the whitelist by
association with the specified "<group_role>".

Resolves: #7
mpalmi added a commit that referenced this issue Apr 10, 2018
This feature adds support for '+<group_role>' syntax in the superuser
whitelist. This should allow users to be added to the whitelist by
association with the specified "<group_role>".

Resolves: #7
@mpalmi mpalmi closed this as completed in 11788c7 Apr 10, 2018
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