-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[omnibus] modify pg_user provider for rds security reqs
Modify pg_user to better support the limited access provided by RDS. This includes: - pg_shadow may not be available due to permissions, which prevents us from checking if a password change is required. If it's not, instead of failing we'll just perform the change as a password update- basically a no-op if the password doesn't need updating. to ensure it's correct. - due to potential unavailability of pg_shadow, we instead check pg_user to see if a user already exists - ensure that for remote databases, we add the superuser to newly created roles, so that if the superuser needs to modify the databases owned by that role, it can.
- Loading branch information
Marc Paradise
committed
Jul 23, 2015
1 parent
21a86ec
commit 8d1f5ca
Showing
1 changed file
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters