postgresql icon indicating copy to clipboard operation
postgresql copied to clipboard

Allow passing through of role params

Open stefanhorning opened this issue 5 years ago • 2 comments
trafficstars

stefanhorning avatar Jun 26 '20 11:06 stefanhorning

@stefanhorning , thanks for the pull request.

Currently we add permissions like this via the postgresql_user_privileges:

# List of user privileges to be applied (optional)
postgresql_user_privileges:
  - name: baz                   # user name
    db: foobar                  # database
    priv: "ALL"                 # privilege string format: example: INSERT,UPDATE/table:SELECT/anothertable:ALL
    role_attr_flags: "CREATEDB" # role attribute flags

I feel doing it in two places could get confusing?

gclough avatar Nov 17 '21 12:11 gclough

Yes, if there is already a place to do this you are probably right. Currently don't really remember what the motivation was to add this (over a year ago), might have just missed the other option.

stefanhorning avatar Nov 18 '21 09:11 stefanhorning

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

MrMegaNova avatar Dec 15 '23 10:12 MrMegaNova