-
Notifications
You must be signed in to change notification settings - Fork 2
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 a utility or Ansible playbook to create WoW users #23
Comments
Er, I don't think this is 100% right. For one thing, I think that the new user will actually have the ability to create tables in the REVOKE CREATE ON SCHEMA public FROM public; (Note that I tried revoking it from just the Also, the user won't actually be able to create anything in the GRANT ALL ON SCHEMA wow TO wow; |
Er, another note: make sure none of the above statements error! In particular, |
This adds two new commands to `dbtool.py` which make it easier to create users and give them permissions. It helps a bit with #23. I tried adding a corresponding `user:drop` command but wow deleting postgres users is a lot harder than I thought it'd be.
#22 adds support for loading the WoW dataset into a
wow
schema but the documentation added in that PR tells the reader that they're responsible for settings up a user with the proper permissions andsearch_path
settings. It'd be nice to have a command or Ansible playbook that does this automatically, similar to #2. Here's what I just ran to create a custom user:The text was updated successfully, but these errors were encountered: