Skip to content

Add ability to grant roles #6

@westonplatter

Description

@westonplatter

Currently we only grant permissions to roles. In the future, we'd like to create roles and then grant these roles to members. For example,

Create the following roles without passwords and without the ability to login,

  • role-write
  • role-readonly

Create the following roles with passwords + login permissions,

  • app
  • app-ro
  • engineering-ro

Grant

  • role-write to app
  • role-readonly to [app-ro, engineering-ro]

This will require adding postgresql_grant_role to main.tf and creating a way for some type of variable expression to direct granting roles to users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions