{"action":"closed","number":6408,"pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6408","id":41571696,"html_url":"https://github.com/civicrm/civicrm-core/pull/6408","diff_url":"https://github.com/civicrm/civicrm-core/pull/6408.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/6408.patch","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6408","number":6408,"state":"closed","locked":false,"title":"CRM-16963 - Access CiviCRM sufficient to retrieve country information","user":{"login":"johanv","id":586145,"avatar_url":"https://avatars.githubusercontent.com/u/586145?v=3","gravatar_id":"","url":"https://api.github.com/users/johanv","html_url":"https://github.com/johanv","followers_url":"https://api.github.com/users/johanv/followers","following_url":"https://api.github.com/users/johanv/following{/other_user}","gists_url":"https://api.github.com/users/johanv/gists{/gist_id}","starred_url":"https://api.github.com/users/johanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanv/subscriptions","organizations_url":"https://api.github.com/users/johanv/orgs","repos_url":"https://api.github.com/users/johanv/repos","events_url":"https://api.github.com/users/johanv/events{/privacy}","received_events_url":"https://api.github.com/users/johanv/received_events","type":"User","site_admin":false},"body":"If you have 'access CiviCRM' permissions, you should be able to retreive country information using the HTTP-API.\r\n----------------------------------------\r\n* CRM-16963: 'Administer CiviCRM' permissions needed to retrieve countries using the API\r\n  https://issues.civicrm.org/jira/browse/CRM-16963","created_at":"2015-08-04T13:52:03Z","updated_at":"2015-08-04T20:20:54Z","closed_at":"2015-08-04T20:20:54Z","merged_at":"2015-08-04T20:20:54Z","merge_commit_sha":"ecb0ba250f360efd3b2b08c028ec97874c308d31","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6408/commits","review_comments_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6408/comments","review_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6408/comments","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/ec642959426d3b63db86feb6d78b6c2b2e47e909","head":{"label":"johanv:CRM-16963-permissions_country_api","ref":"CRM-16963-permissions_country_api","sha":"ec642959426d3b63db86feb6d78b6c2b2e47e909","user":{"login":"johanv","id":586145,"avatar_url":"https://avatars.githubusercontent.com/u/586145?v=3","gravatar_id":"","url":"https://api.github.com/users/johanv","html_url":"https://github.com/johanv","followers_url":"https://api.github.com/users/johanv/followers","following_url":"https://api.github.com/users/johanv/following{/other_user}","gists_url":"https://api.github.com/users/johanv/gists{/gist_id}","starred_url":"https://api.github.com/users/johanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanv/subscriptions","organizations_url":"https://api.github.com/users/johanv/orgs","repos_url":"https://api.github.com/users/johanv/repos","events_url":"https://api.github.com/users/johanv/events{/privacy}","received_events_url":"https://api.github.com/users/johanv/received_events","type":"User","site_admin":false},"repo":{"id":9030988,"name":"civicrm-core","full_name":"johanv/civicrm-core","owner":{"login":"johanv","id":586145,"avatar_url":"https://avatars.githubusercontent.com/u/586145?v=3","gravatar_id":"","url":"https://api.github.com/users/johanv","html_url":"https://github.com/johanv","followers_url":"https://api.github.com/users/johanv/followers","following_url":"https://api.github.com/users/johanv/following{/other_user}","gists_url":"https://api.github.com/users/johanv/gists{/gist_id}","starred_url":"https://api.github.com/users/johanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanv/subscriptions","organizations_url":"https://api.github.com/users/johanv/orgs","repos_url":"https://api.github.com/users/johanv/repos","events_url":"https://api.github.com/users/johanv/events{/privacy}","received_events_url":"https://api.github.com/users/johanv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johanv/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":true,"url":"https://api.github.com/repos/johanv/civicrm-core","forks_url":"https://api.github.com/repos/johanv/civicrm-core/forks","keys_url":"https://api.github.com/repos/johanv/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johanv/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johanv/civicrm-core/teams","hooks_url":"https://api.github.com/repos/johanv/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/johanv/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/johanv/civicrm-core/events","assignees_url":"https://api.github.com/repos/johanv/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/johanv/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/johanv/civicrm-core/tags","blobs_url":"https://api.github.com/repos/johanv/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johanv/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johanv/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/johanv/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johanv/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/johanv/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/johanv/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/johanv/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/johanv/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/johanv/civicrm-core/subscription","commits_url":"https://api.github.com/repos/johanv/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/johanv/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/johanv/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/johanv/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/johanv/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/johanv/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johanv/civicrm-core/merges","archive_url":"https://api.github.com/repos/johanv/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johanv/civicrm-core/downloads","issues_url":"https://api.github.com/repos/johanv/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/johanv/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/johanv/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/johanv/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johanv/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/johanv/civicrm-core/releases{/id}","created_at":"2013-03-26T13:35:57Z","updated_at":"2015-03-10T12:14:08Z","pushed_at":"2015-08-04T13:49:55Z","git_url":"git://github.com/johanv/civicrm-core.git","ssh_url":"git@github.com:johanv/civicrm-core.git","clone_url":"https://github.com/johanv/civicrm-core.git","svn_url":"https://github.com/johanv/civicrm-core","homepage":null,"size":94027,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"civicrm:master","ref":"master","sha":"425a41ba39af5eba9a974b13b536703a8a490616","user":{"login":"civicrm","id":136373,"avatar_url":"https://avatars.githubusercontent.com/u/136373?v=3","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"repo":{"id":8495499,"name":"civicrm-core","full_name":"civicrm/civicrm-core","owner":{"login":"civicrm","id":136373,"avatar_url":"https://avatars.githubusercontent.com/u/136373?v=3","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civicrm/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":false,"url":"https://api.github.com/repos/civicrm/civicrm-core","forks_url":"https://api.github.com/repos/civicrm/civicrm-core/forks","keys_url":"https://api.github.com/repos/civicrm/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civicrm/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civicrm/civicrm-core/teams","hooks_url":"https://api.github.com/repos/civicrm/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/civicrm/civicrm-core/events","assignees_url":"https://api.github.com/repos/civicrm/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/civicrm/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/civicrm/civicrm-core/tags","blobs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civicrm/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/civicrm/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/civicrm/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/civicrm/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/civicrm/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/civicrm/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/civicrm/civicrm-core/subscription","commits_url":"https://api.github.com/repos/civicrm/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/civicrm/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/civicrm/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/civicrm/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civicrm/civicrm-core/merges","archive_url":"https://api.github.com/repos/civicrm/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civicrm/civicrm-core/downloads","issues_url":"https://api.github.com/repos/civicrm/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/civicrm/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/civicrm/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/civicrm/civicrm-core/releases{/id}","created_at":"2013-03-01T06:11:56Z","updated_at":"2015-07-26T19:35:03Z","pushed_at":"2015-08-04T20:20:54Z","git_url":"git://github.com/civicrm/civicrm-core.git","ssh_url":"git@github.com:civicrm/civicrm-core.git","clone_url":"https://github.com/civicrm/civicrm-core.git","svn_url":"https://github.com/civicrm/civicrm-core","homepage":null,"size":139293,"stargazers_count":116,"watchers_count":116,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":309,"mirror_url":null,"open_issues_count":94,"forks":309,"open_issues":94,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6408"},"html":{"href":"https://github.com/civicrm/civicrm-core/pull/6408"},"issue":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/6408"},"comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/6408/comments"},"review_comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6408/comments"},"review_comment":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6408/commits"},"statuses":{"href":"https://api.github.com/repos/civicrm/civicrm-core/statuses/ec642959426d3b63db86feb6d78b6c2b2e47e909"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"colemanw","id":2874912,"avatar_url":"https://avatars.githubusercontent.com/u/2874912?v=3","gravatar_id":"","url":"https://api.github.com/users/colemanw","html_url":"https://github.com/colemanw","followers_url":"https://api.github.com/users/colemanw/followers","following_url":"https://api.github.com/users/colemanw/following{/other_user}","gists_url":"https://api.github.com/users/colemanw/gists{/gist_id}","starred_url":"https://api.github.com/users/colemanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemanw/subscriptions","organizations_url":"https://api.github.com/users/colemanw/orgs","repos_url":"https://api.github.com/users/colemanw/repos","events_url":"https://api.github.com/users/colemanw/events{/privacy}","received_events_url":"https://api.github.com/users/colemanw/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":1}}