-
Notifications
You must be signed in to change notification settings - Fork 4
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
Limits postgres privileges for application db users #2950
Conversation
@@ -37,7 +37,7 @@ application_dbuser_name: '{{figgy_db_user}}' | |||
application_dbuser_password: '{{figgy_db_password}}' | |||
application_dbuser_ro_name: '{{figgy_db_ro_user}}' | |||
application_dbuser_ro_password: '{{figgy_db_ro_password}}' | |||
application_dbuser_role_attr_flags: 'SUPERUSER' | |||
application_dbuser_role_attr_flags: 'CREATEDB' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I misremembering this being a problem for figgy?
@@ -31,7 +31,7 @@ application_dbuser_name: '{{figgy_db_user}}' | |||
application_dbuser_password: '{{figgy_db_password}}' | |||
application_dbuser_ro_name: '{{figgy_db_ro_user}}' | |||
application_dbuser_ro_password: '{{figgy_db_ro_password}}' | |||
application_dbuser_role_attr_flags: 'SUPERUSER' | |||
application_dbuser_role_attr_flags: 'CREATEDB' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @hackartisan brought this up at an "office hours" meeting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have an issue we need to verify with the figgy extensions #2780 Confirm that it won't break figgy before merging this.
Ah, right you are @kayiwa. This was an old branch I found on my local computer and I wondered why I still had it - but we were addressing these changes project by project. I'll close the PR. |
Related to #2735.
On the new postgresql infrastructure, users for specific databases should have limited privileges.