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

Support postgres_privs module #181

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

goldenberg
Copy link

Addresses #175 to use the builtin postgresql_privs module to grant and revoke privileges on objects and schemas.

  • Added Ensure postgres is running task based on users.yml. Let me know if that's excessive.
  • Modified README.md with an example. Should we modify the postgresql_user_privileges example to get rid of the privilege string format since so it's not redundant now? Or is there still a valid use case for that format?

@goldenberg
Copy link
Author

I wanted to check in to see if we can get this merged?

Thanks!

@jesselang
Copy link
Contributor

This looks like a great addition! CWGTM?

@goldenberg
Copy link
Author

Thanks! That'd be great.

@cnf
Copy link

cnf commented Aug 9, 2016

Any progress on this? I need it to create read-only users.

@@ -1,5 +1,10 @@
# file: postgresql/tasks/users_privileges.yml

- name: PostgreSQL | Ensure PostgreSQL is running
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you want to check postgresql status here? It's not a task about privileges.

@gclough
Copy link
Collaborator

gclough commented Apr 6, 2018

Is this the same as #134? Which one should be merged?

@rlex
Copy link

rlex commented Feb 27, 2020

Is there any updates on this PR? I was thinking about making pretty much the same PR before i discovered this one got stuck.

Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@github-actions github-actions bot added the stale label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants