{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/comments/223737491","pull_request_review_id":162936827,"id":223737491,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzczNzQ5MQ==","diff_hunk":"@@ -0,0 +1,5 @@\n+class AddAdminToUsers < ActiveRecord::Migration[5.2]\n+  def change\n+    add_column :users, :admin, :bool, default: false","path":"db/migrate/20181009090135_add_admin_to_users.rb","position":3,"original_position":3,"commit_id":"d0ec578f1d040daa7cd3fdd2ba6483f32d5eb152","original_commit_id":"d0ec578f1d040daa7cd3fdd2ba6483f32d5eb152","user":{"login":"tommotaylor","id":2160769,"node_id":"MDQ6VXNlcjIxNjA3Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/2160769?v=4","gravatar_id":"","url":"https://api.github.com/users/tommotaylor","html_url":"https://github.com/tommotaylor","followers_url":"https://api.github.com/users/tommotaylor/followers","following_url":"https://api.github.com/users/tommotaylor/following{/other_user}","gists_url":"https://api.github.com/users/tommotaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/tommotaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommotaylor/subscriptions","organizations_url":"https://api.github.com/users/tommotaylor/orgs","repos_url":"https://api.github.com/users/tommotaylor/repos","events_url":"https://api.github.com/users/tommotaylor/events{/privacy}","received_events_url":"https://api.github.com/users/tommotaylor/received_events","type":"User","site_admin":false},"body":"this should be `:boolean` https://api.rubyonrails.org/classes/ActiveRecord/Migration.html","created_at":"2018-10-09T14:56:07Z","updated_at":"2018-10-09T14:56:07Z","html_url":"https://github.com/alphagov/govwifi-admin/pull/176#discussion_r223737491","pull_request_url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/comments/223737491"},"html":{"href":"https://github.com/alphagov/govwifi-admin/pull/176#discussion_r223737491"},"pull_request":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176","id":221069020,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMDY5MDIw","html_url":"https://github.com/alphagov/govwifi-admin/pull/176","diff_url":"https://github.com/alphagov/govwifi-admin/pull/176.diff","patch_url":"https://github.com/alphagov/govwifi-admin/pull/176.patch","issue_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues/176","number":176,"state":"open","locked":false,"title":"Display a list of signed up organisations","user":{"login":"Renny4Real","id":32823756,"node_id":"MDQ6VXNlcjMyODIzNzU2","avatar_url":"https://avatars1.githubusercontent.com/u/32823756?v=4","gravatar_id":"","url":"https://api.github.com/users/Renny4Real","html_url":"https://github.com/Renny4Real","followers_url":"https://api.github.com/users/Renny4Real/followers","following_url":"https://api.github.com/users/Renny4Real/following{/other_user}","gists_url":"https://api.github.com/users/Renny4Real/gists{/gist_id}","starred_url":"https://api.github.com/users/Renny4Real/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Renny4Real/subscriptions","organizations_url":"https://api.github.com/users/Renny4Real/orgs","repos_url":"https://api.github.com/users/Renny4Real/repos","events_url":"https://api.github.com/users/Renny4Real/events{/privacy}","received_events_url":"https://api.github.com/users/Renny4Real/received_events","type":"User","site_admin":false},"body":"Add authentication for super admin to see the list of organisations.\r\n\r\nShow only organisation tab to admin.\r\n\r\nShow the other tabs to regular users.","created_at":"2018-10-08T10:32:14Z","updated_at":"2018-10-09T14:56:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2519b4291d9151c5a8adbee3ade4f3d259b1797","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176/commits","review_comments_url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176/comments","review_comment_url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues/176/comments","statuses_url":"https://api.github.com/repos/alphagov/govwifi-admin/statuses/d0ec578f1d040daa7cd3fdd2ba6483f32d5eb152","head":{"label":"alphagov:DisList","ref":"DisList","sha":"d0ec578f1d040daa7cd3fdd2ba6483f32d5eb152","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":142477564,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0Nzc1NjQ=","name":"govwifi-admin","full_name":"alphagov/govwifi-admin","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/govwifi-admin","description":"GovWifi Admin Platform","fork":false,"url":"https://api.github.com/repos/alphagov/govwifi-admin","forks_url":"https://api.github.com/repos/alphagov/govwifi-admin/forks","keys_url":"https://api.github.com/repos/alphagov/govwifi-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govwifi-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govwifi-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/govwifi-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govwifi-admin/events","assignees_url":"https://api.github.com/repos/alphagov/govwifi-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govwifi-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govwifi-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govwifi-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govwifi-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/govwifi-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govwifi-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govwifi-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govwifi-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/govwifi-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govwifi-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govwifi-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govwifi-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govwifi-admin/merges","archive_url":"https://api.github.com/repos/alphagov/govwifi-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govwifi-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govwifi-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govwifi-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govwifi-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govwifi-admin/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govwifi-admin/deployments","created_at":"2018-07-26T18:13:41Z","updated_at":"2018-10-09T14:43:11Z","pushed_at":"2018-10-09T14:44:39Z","git_url":"git://github.com/alphagov/govwifi-admin.git","ssh_url":"git@github.com:alphagov/govwifi-admin.git","clone_url":"https://github.com/alphagov/govwifi-admin.git","svn_url":"https://github.com/alphagov/govwifi-admin","homepage":"","size":359,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"c2c67b9476973d713fb5b090ab3f73f5b6b8106e","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":142477564,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0Nzc1NjQ=","name":"govwifi-admin","full_name":"alphagov/govwifi-admin","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/govwifi-admin","description":"GovWifi Admin Platform","fork":false,"url":"https://api.github.com/repos/alphagov/govwifi-admin","forks_url":"https://api.github.com/repos/alphagov/govwifi-admin/forks","keys_url":"https://api.github.com/repos/alphagov/govwifi-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govwifi-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govwifi-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/govwifi-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govwifi-admin/events","assignees_url":"https://api.github.com/repos/alphagov/govwifi-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govwifi-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govwifi-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govwifi-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govwifi-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/govwifi-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govwifi-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govwifi-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govwifi-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/govwifi-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govwifi-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govwifi-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govwifi-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govwifi-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govwifi-admin/merges","archive_url":"https://api.github.com/repos/alphagov/govwifi-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govwifi-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/govwifi-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govwifi-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govwifi-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govwifi-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govwifi-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govwifi-admin/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govwifi-admin/deployments","created_at":"2018-07-26T18:13:41Z","updated_at":"2018-10-09T14:43:11Z","pushed_at":"2018-10-09T14:44:39Z","git_url":"git://github.com/alphagov/govwifi-admin.git","ssh_url":"git@github.com:alphagov/govwifi-admin.git","clone_url":"https://github.com/alphagov/govwifi-admin.git","svn_url":"https://github.com/alphagov/govwifi-admin","homepage":"","size":359,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176"},"html":{"href":"https://github.com/alphagov/govwifi-admin/pull/176"},"issue":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/issues/176"},"comments":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govwifi-admin/statuses/d0ec578f1d040daa7cd3fdd2ba6483f32d5eb152"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tommotaylor"}}