Skip to content

Revisit Postgres DB user permissions, roles and groups #1576

Open
@dandelany

Description

Background

Per discussion with @Mythicaeda - our Postgres DB service doesn't really have proper user role/group access permissions. Currently each user or service that accesses the DB is given a role that is just their username. We'd like to be more intentional about these roles & groups to adhere to the principle of least privilege and to make future changes easier.

Requirements

  • Discuss & decide on the correct set of roles/groups to use for DB users & services which connect to the DB, & what permissions each role should have
  • Implement new roles/groups in the DB
  • Create a migration and/or script for users to migrate to the new DB structure/roles when they upgrade

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

databaseAnything related to the databaserefactorA code change that neither fixes a bug nor adds a featuresoonNot quite next up, but soon

Type

No type

Projects

  • Status

    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions