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

Limits postgres privileges for application db users #2950

Closed
wants to merge 2 commits into from

Conversation

acozine
Copy link
Contributor

@acozine acozine commented Apr 8, 2022

Related to #2735.

On the new postgresql infrastructure, users for specific databases should have limited privileges.

@@ -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'
Copy link
Member

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'
Copy link
Member

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.

Copy link
Member

@kayiwa kayiwa left a 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.

@acozine
Copy link
Contributor Author

acozine commented Apr 11, 2022

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.

@acozine acozine closed this Apr 11, 2022
@acozine acozine deleted the limit_pg_privs branch April 19, 2022 16:52
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

Successfully merging this pull request may close these issues.

2 participants