postgresql_user "replication" do
cluster node[:db][:cluster]
password passwords["replication"]
postgresql_user "replication" do
cluster node[:db][:cluster]
password passwords["replication"]
"current_way_tags" => [:select, :insert, :delete],
"current_ways" => [:select, :insert, :update],
"current_ways_id_seq" => [:update],
"current_way_tags" => [:select, :insert, :delete],
"current_ways" => [:select, :insert, :update],
"current_ways_id_seq" => [:update],
"node_tags" => [:select, :insert],
"nodes" => [:select, :insert],
"oauth_access_grants" => [:select],
"node_tags" => [:select, :insert],
"nodes" => [:select, :insert],
"oauth_access_grants" => [:select],
"relation_members" => [:select, :insert],
"relation_tags" => [:select, :insert],
"relations" => [:select, :insert],
"relation_members" => [:select, :insert],
"relation_tags" => [:select, :insert],
"relations" => [:select, :insert],
"user_blocks" => [:select],
"user_roles" => [:select],
"users" => [:select],
"way_nodes" => [:select, :insert],
"way_tags" => [:select, :insert],
"ways" => [:select, :insert]
"user_blocks" => [:select],
"user_roles" => [:select],
"users" => [:select],
"way_nodes" => [:select, :insert],
"way_tags" => [:select, :insert],
"ways" => [:select, :insert]
PLANETDUMP_PERMISSIONS = {
"note_comments" => :select,
"notes" => :select,
"users" => :select
PLANETDUMP_PERMISSIONS = {
"note_comments" => :select,
"notes" => :select,
"users" => :select
PLANETDIFF_PERMISSIONS = {
"changeset_comments" => :select,
PLANETDIFF_PERMISSIONS = {
"changeset_comments" => :select,
"cgimap" => CGIMAP_PERMISSIONS[table],
"planetdump" => PLANETDUMP_PERMISSIONS[table],
"planetdiff" => PLANETDIFF_PERMISSIONS[table],
"cgimap" => CGIMAP_PERMISSIONS[table],
"planetdump" => PLANETDUMP_PERMISSIONS[table],
"planetdiff" => PLANETDIFF_PERMISSIONS[table],