Update predefined roles for PostgreSQL-14
This commit is contained in:
parent
49a03915a7
commit
52ca5fc323
@ -106,8 +106,8 @@ class Application
|
|||||||
|
|
||||||
PgRole = Struct.new :name, :member_names
|
PgRole = Struct.new :name, :member_names
|
||||||
|
|
||||||
# List of default roles taken from https://www.postgresql.org/docs/current/static/default-roles.html
|
# List of default roles taken from https://www.postgresql.org/docs/current/predefined-roles.html
|
||||||
PG_BUILTIN_ROLES = %w[ pg_signal_backend pg_monitor pg_read_all_settings pg_read_all_stats pg_stat_scan_tables]
|
PG_BUILTIN_ROLES = %w[ pg_read_all_data pg_write_all_data pg_read_all_settings pg_read_all_stats pg_stat_scan_tables pg_monitor pg_database_owner pg_signal_backend pg_read_server_files pg_write_server_files pg_execute_server_program ]
|
||||||
|
|
||||||
def search_pg_users
|
def search_pg_users
|
||||||
pg_users_conf = @config[:pg_users]
|
pg_users_conf = @config[:pg_users]
|
||||||
|
Reference in New Issue
Block a user