From 52ca5fc32399317205dbd38c4b5e94e057366f87 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Mon, 17 Jan 2022 13:37:09 +0100 Subject: [PATCH] Update predefined roles for PostgreSQL-14 --- lib/pg_ldap_sync/application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pg_ldap_sync/application.rb b/lib/pg_ldap_sync/application.rb index 3552a3f..61b4bd3 100644 --- a/lib/pg_ldap_sync/application.rb +++ b/lib/pg_ldap_sync/application.rb @@ -106,8 +106,8 @@ class Application PgRole = Struct.new :name, :member_names - # List of default roles taken from https://www.postgresql.org/docs/current/static/default-roles.html - PG_BUILTIN_ROLES = %w[ pg_signal_backend pg_monitor pg_read_all_settings pg_read_all_stats pg_stat_scan_tables] + # List of default roles taken from https://www.postgresql.org/docs/current/predefined-roles.html + 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 pg_users_conf = @config[:pg_users]