{"action":"created","comment":{"url":"https://api.github.com/repos/dalibo/ldap2pg/pulls/comments/168538646","pull_request_review_id":96923465,"id":168538646,"diff_hunk":"@@ -314,6 +314,10 @@ class Configuration(dict):\n         'postgres': {\n             'dsn': '',\n             'blacklist': ['pg_*', 'postgres'],\n+            'databases_query': \"\"\"\n+            SELECT datname FROM pg_catalog.pg_database\n+            WHERE datallowconn IS TRUE ORDER BY 1;\n+            \"\"\".replace(\"\\n\" + ' ' * 12, \"\\n\").strip(),","path":"ldap2pg/config.py","position":7,"original_position":7,"commit_id":"fe46b6b0428fd299a102e2a968ffa193b8093cc2","original_commit_id":"fe46b6b0428fd299a102e2a968ffa193b8093cc2","user":{"login":"bersace","id":542613,"avatar_url":"https://avatars1.githubusercontent.com/u/542613?v=4","gravatar_id":"","url":"https://api.github.com/users/bersace","html_url":"https://github.com/bersace","followers_url":"https://api.github.com/users/bersace/followers","following_url":"https://api.github.com/users/bersace/following{/other_user}","gists_url":"https://api.github.com/users/bersace/gists{/gist_id}","starred_url":"https://api.github.com/users/bersace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bersace/subscriptions","organizations_url":"https://api.github.com/users/bersace/orgs","repos_url":"https://api.github.com/users/bersace/repos","events_url":"https://api.github.com/users/bersace/events{/privacy}","received_events_url":"https://api.github.com/users/bersace/received_events","type":"User","site_admin":false},"body":"#TIL ;-) Thanks for pointing this !","created_at":"2018-02-15T16:53:09Z","updated_at":"2018-02-15T16:53:10Z","html_url":"https://github.com/dalibo/ldap2pg/pull/176#discussion_r168538646","pull_request_url":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dalibo/ldap2pg/pulls/comments/168538646"},"html":{"href":"https://github.com/dalibo/ldap2pg/pull/176#discussion_r168538646"},"pull_request":{"href":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176"}},"in_reply_to_id":168531529},"pull_request":{"url":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176","id":168254792,"html_url":"https://github.com/dalibo/ldap2pg/pull/176","diff_url":"https://github.com/dalibo/ldap2pg/pull/176.diff","patch_url":"https://github.com/dalibo/ldap2pg/pull/176.patch","issue_url":"https://api.github.com/repos/dalibo/ldap2pg/issues/176","number":176,"state":"closed","locked":false,"title":"Add postgres:databases_query configuration","user":{"login":"bersace","id":542613,"avatar_url":"https://avatars1.githubusercontent.com/u/542613?v=4","gravatar_id":"","url":"https://api.github.com/users/bersace","html_url":"https://github.com/bersace","followers_url":"https://api.github.com/users/bersace/followers","following_url":"https://api.github.com/users/bersace/following{/other_user}","gists_url":"https://api.github.com/users/bersace/gists{/gist_id}","starred_url":"https://api.github.com/users/bersace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bersace/subscriptions","organizations_url":"https://api.github.com/users/bersace/orgs","repos_url":"https://api.github.com/users/bersace/repos","events_url":"https://api.github.com/users/bersace/events{/privacy}","received_events_url":"https://api.github.com/users/bersace/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-09T14:35:37Z","updated_at":"2018-02-15T16:53:10Z","closed_at":"2018-02-09T14:38:38Z","merged_at":"2018-02-09T14:38:38Z","merge_commit_sha":"66fc546d09738d8688271ee7850049e4852b5eec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176/commits","review_comments_url":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176/comments","review_comment_url":"https://api.github.com/repos/dalibo/ldap2pg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dalibo/ldap2pg/issues/176/comments","statuses_url":"https://api.github.com/repos/dalibo/ldap2pg/statuses/fe46b6b0428fd299a102e2a968ffa193b8093cc2","head":{"label":"bersace:databases","ref":"databases","sha":"fe46b6b0428fd299a102e2a968ffa193b8093cc2","user":{"login":"bersace","id":542613,"avatar_url":"https://avatars1.githubusercontent.com/u/542613?v=4","gravatar_id":"","url":"https://api.github.com/users/bersace","html_url":"https://github.com/bersace","followers_url":"https://api.github.com/users/bersace/followers","following_url":"https://api.github.com/users/bersace/following{/other_user}","gists_url":"https://api.github.com/users/bersace/gists{/gist_id}","starred_url":"https://api.github.com/users/bersace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bersace/subscriptions","organizations_url":"https://api.github.com/users/bersace/orgs","repos_url":"https://api.github.com/users/bersace/repos","events_url":"https://api.github.com/users/bersace/events{/privacy}","received_events_url":"https://api.github.com/users/bersace/received_events","type":"User","site_admin":false},"repo":{"id":94524049,"name":"ldap2pg","full_name":"bersace/ldap2pg","owner":{"login":"bersace","id":542613,"avatar_url":"https://avatars1.githubusercontent.com/u/542613?v=4","gravatar_id":"","url":"https://api.github.com/users/bersace","html_url":"https://github.com/bersace","followers_url":"https://api.github.com/users/bersace/followers","following_url":"https://api.github.com/users/bersace/following{/other_user}","gists_url":"https://api.github.com/users/bersace/gists{/gist_id}","starred_url":"https://api.github.com/users/bersace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bersace/subscriptions","organizations_url":"https://api.github.com/users/bersace/orgs","repos_url":"https://api.github.com/users/bersace/repos","events_url":"https://api.github.com/users/bersace/events{/privacy}","received_events_url":"https://api.github.com/users/bersace/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bersace/ldap2pg","description":":phone: Synchronize PostgreSQL roles from LDAP","fork":true,"url":"https://api.github.com/repos/bersace/ldap2pg","forks_url":"https://api.github.com/repos/bersace/ldap2pg/forks","keys_url":"https://api.github.com/repos/bersace/ldap2pg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bersace/ldap2pg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bersace/ldap2pg/teams","hooks_url":"https://api.github.com/repos/bersace/ldap2pg/hooks","issue_events_url":"https://api.github.com/repos/bersace/ldap2pg/issues/events{/number}","events_url":"https://api.github.com/repos/bersace/ldap2pg/events","assignees_url":"https://api.github.com/repos/bersace/ldap2pg/assignees{/user}","branches_url":"https://api.github.com/repos/bersace/ldap2pg/branches{/branch}","tags_url":"https://api.github.com/repos/bersace/ldap2pg/tags","blobs_url":"https://api.github.com/repos/bersace/ldap2pg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bersace/ldap2pg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bersace/ldap2pg/git/refs{/sha}","trees_url":"https://api.github.com/repos/bersace/ldap2pg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bersace/ldap2pg/statuses/{sha}","languages_url":"https://api.github.com/repos/bersace/ldap2pg/languages","stargazers_url":"https://api.github.com/repos/bersace/ldap2pg/stargazers","contributors_url":"https://api.github.com/repos/bersace/ldap2pg/contributors","subscribers_url":"https://api.github.com/repos/bersace/ldap2pg/subscribers","subscription_url":"https://api.github.com/repos/bersace/ldap2pg/subscription","commits_url":"https://api.github.com/repos/bersace/ldap2pg/commits{/sha}","git_commits_url":"https://api.github.com/repos/bersace/ldap2pg/git/commits{/sha}","comments_url":"https://api.github.com/repos/bersace/ldap2pg/comments{/number}","issue_comment_url":"https://api.github.com/repos/bersace/ldap2pg/issues/comments{/number}","contents_url":"https://api.github.com/repos/bersace/ldap2pg/contents/{+path}","compare_url":"https://api.github.com/repos/bersace/ldap2pg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bersace/ldap2pg/merges","archive_url":"https://api.github.com/repos/bersace/ldap2pg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bersace/ldap2pg/downloads","issues_url":"https://api.github.com/repos/bersace/ldap2pg/issues{/number}","pulls_url":"https://api.github.com/repos/bersace/ldap2pg/pulls{/number}","milestones_url":"https://api.github.com/repos/bersace/ldap2pg/milestones{/number}","notifications_url":"https://api.github.com/repos/bersace/ldap2pg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bersace/ldap2pg/labels{/name}","releases_url":"https://api.github.com/repos/bersace/ldap2pg/releases{/id}","deployments_url":"https://api.github.com/repos/bersace/ldap2pg/deployments","created_at":"2017-06-16T08:40:54Z","updated_at":"2017-06-16T08:40:27Z","pushed_at":"2018-02-13T15:41:06Z","git_url":"git://github.com/bersace/ldap2pg.git","ssh_url":"git@github.com:bersace/ldap2pg.git","clone_url":"https://github.com/bersace/ldap2pg.git","svn_url":"https://github.com/bersace/ldap2pg","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dalibo:master","ref":"master","sha":"2395c2b28d52dda49b2a2b4775081f1aa5ed1bde","user":{"login":"dalibo","id":182275,"avatar_url":"https://avatars1.githubusercontent.com/u/182275?v=4","gravatar_id":"","url":"https://api.github.com/users/dalibo","html_url":"https://github.com/dalibo","followers_url":"https://api.github.com/users/dalibo/followers","following_url":"https://api.github.com/users/dalibo/following{/other_user}","gists_url":"https://api.github.com/users/dalibo/gists{/gist_id}","starred_url":"https://api.github.com/users/dalibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalibo/subscriptions","organizations_url":"https://api.github.com/users/dalibo/orgs","repos_url":"https://api.github.com/users/dalibo/repos","events_url":"https://api.github.com/users/dalibo/events{/privacy}","received_events_url":"https://api.github.com/users/dalibo/received_events","type":"Organization","site_admin":false},"repo":{"id":94523624,"name":"ldap2pg","full_name":"dalibo/ldap2pg","owner":{"login":"dalibo","id":182275,"avatar_url":"https://avatars1.githubusercontent.com/u/182275?v=4","gravatar_id":"","url":"https://api.github.com/users/dalibo","html_url":"https://github.com/dalibo","followers_url":"https://api.github.com/users/dalibo/followers","following_url":"https://api.github.com/users/dalibo/following{/other_user}","gists_url":"https://api.github.com/users/dalibo/gists{/gist_id}","starred_url":"https://api.github.com/users/dalibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalibo/subscriptions","organizations_url":"https://api.github.com/users/dalibo/orgs","repos_url":"https://api.github.com/users/dalibo/repos","events_url":"https://api.github.com/users/dalibo/events{/privacy}","received_events_url":"https://api.github.com/users/dalibo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dalibo/ldap2pg","description":":elephant: :busts_in_silhouette: PostgreSQL roles and ACL management","fork":false,"url":"https://api.github.com/repos/dalibo/ldap2pg","forks_url":"https://api.github.com/repos/dalibo/ldap2pg/forks","keys_url":"https://api.github.com/repos/dalibo/ldap2pg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dalibo/ldap2pg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dalibo/ldap2pg/teams","hooks_url":"https://api.github.com/repos/dalibo/ldap2pg/hooks","issue_events_url":"https://api.github.com/repos/dalibo/ldap2pg/issues/events{/number}","events_url":"https://api.github.com/repos/dalibo/ldap2pg/events","assignees_url":"https://api.github.com/repos/dalibo/ldap2pg/assignees{/user}","branches_url":"https://api.github.com/repos/dalibo/ldap2pg/branches{/branch}","tags_url":"https://api.github.com/repos/dalibo/ldap2pg/tags","blobs_url":"https://api.github.com/repos/dalibo/ldap2pg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dalibo/ldap2pg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dalibo/ldap2pg/git/refs{/sha}","trees_url":"https://api.github.com/repos/dalibo/ldap2pg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dalibo/ldap2pg/statuses/{sha}","languages_url":"https://api.github.com/repos/dalibo/ldap2pg/languages","stargazers_url":"https://api.github.com/repos/dalibo/ldap2pg/stargazers","contributors_url":"https://api.github.com/repos/dalibo/ldap2pg/contributors","subscribers_url":"https://api.github.com/repos/dalibo/ldap2pg/subscribers","subscription_url":"https://api.github.com/repos/dalibo/ldap2pg/subscription","commits_url":"https://api.github.com/repos/dalibo/ldap2pg/commits{/sha}","git_commits_url":"https://api.github.com/repos/dalibo/ldap2pg/git/commits{/sha}","comments_url":"https://api.github.com/repos/dalibo/ldap2pg/comments{/number}","issue_comment_url":"https://api.github.com/repos/dalibo/ldap2pg/issues/comments{/number}","contents_url":"https://api.github.com/repos/dalibo/ldap2pg/contents/{+path}","compare_url":"https://api.github.com/repos/dalibo/ldap2pg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dalibo/ldap2pg/merges","archive_url":"https://api.github.com/repos/dalibo/ldap2pg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dalibo/ldap2pg/downloads","issues_url":"https://api.github.com/repos/dalibo/ldap2pg/issues{/number}","pulls_url":"https://api.github.com/repos/dalibo/ldap2pg/pulls{/number}","milestones_url":"https://api.github.com/repos/dalibo/ldap2pg/milestones{/number}","notifications_url":"https://api.github.com/repos/dalibo/ldap2pg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dalibo/ldap2pg/labels{/name}","releases_url":"https://api.github.com/repos/dalibo/ldap2pg/releases{/id}","deployments_url":"https://api.github.com/repos/dalibo/ldap2pg/deployments","created_at":"2017-06-16T08:36:30Z","updated_at":"2018-02-15T07:14:23Z","pushed_at":"2018-02-13T15:41:02Z","git_url":"git://github.com/dalibo/ldap2pg.git","ssh_url":"git@github.com:dalibo/ldap2pg.git","clone_url":"https://github.com/dalibo/ldap2pg.git","svn_url":"https://github.com/dalibo/ldap2pg","homepage":"","size":1228,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"postgresql","name":"PostgreSQL License","spdx_id":"PostgreSQL","url":"https://api.github.com/licenses/postgresql"},"forks":7,"open_issues":2,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176"},"html":{"href":"https://github.com/dalibo/ldap2pg/pull/176"},"issue":{"href":"https://api.github.com/repos/dalibo/ldap2pg/issues/176"},"comments":{"href":"https://api.github.com/repos/dalibo/ldap2pg/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/dalibo/ldap2pg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dalibo/ldap2pg/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/dalibo/ldap2pg/statuses/fe46b6b0428fd299a102e2a968ffa193b8093cc2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bersace"}}