Skip to content

[FEATURE REQUEST] Replace postgres_user and postgres_group with postgres_role #59028

Closed

Description

@OrangeDog

Is your feature request related to a problem? Please describe.
Users and roles are identical. The only differences is that a user has the LOGIN privilege. Internally they're both roles.
Salt-wise, the states are supposed to be identical, but historically fixes and features have been added to postgres_user but not postgres_group. At time of writing there are some annoying differences.

If postgres_group did not include the login/password options it would make some sense to keep them separate, but it does have them.

Describe the solution you'd like
Make a single postgres_role module. Have the old states simply call it with different defaults.

Describe alternatives you've considered
Continue to maintain two (near-)identical state modules.

Activity

  1. added
    Feature
    on Nov 26, 2020
  2. added this to the Approved milestone on Dec 15, 2020
  3. locked and limited conversation to collaborators on Feb 5, 2025
  4. converted this issue into a discussion #67307 on Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions