{"action":"created","comment":{"url":"https://api.github.com/repos/instedd/cdx/pulls/comments/43636022","id":43636022,"diff_hunk":"@@ -362,10 +395,19 @@\n     t.datetime \"locked_at\"\n     t.datetime \"created_at\"\n     t.datetime \"updated_at\"\n+    t.boolean  \"isActive\",                                   default: true\n+    t.boolean  \"isArchived\"\n+    t.boolean  \"isAdmin\",                                    default: false\n+    t.boolean  \"is_admin\",                                   default: false","path":"db/schema.rb","position":68,"original_position":68,"commit_id":"179807fee6d4b129228e124411d91422986a1b6d","original_commit_id":"179807fee6d4b129228e124411d91422986a1b6d","user":{"login":"nekron","id":957103,"avatar_url":"https://avatars.githubusercontent.com/u/957103?v=3","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false},"body":"You still have the is_admin boolean in the users. This is not needed as you already have the MANAGE_USER policy.","created_at":"2015-11-02T14:58:32Z","updated_at":"2015-11-02T14:58:32Z","html_url":"https://github.com/instedd/cdx/pull/457#discussion_r43636022","pull_request_url":"https://api.github.com/repos/instedd/cdx/pulls/457","_links":{"self":{"href":"https://api.github.com/repos/instedd/cdx/pulls/comments/43636022"},"html":{"href":"https://github.com/instedd/cdx/pull/457#discussion_r43636022"},"pull_request":{"href":"https://api.github.com/repos/instedd/cdx/pulls/457"}}},"pull_request":{"url":"https://api.github.com/repos/instedd/cdx/pulls/457","id":49112713,"html_url":"https://github.com/instedd/cdx/pull/457","diff_url":"https://github.com/instedd/cdx/pull/457.diff","patch_url":"https://github.com/instedd/cdx/pull/457.patch","issue_url":"https://api.github.com/repos/instedd/cdx/issues/457","number":457,"state":"open","locked":false,"title":"Feature/admin panel superuser","user":{"login":"anthonyoleary","id":1208548,"avatar_url":"https://avatars.githubusercontent.com/u/1208548?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyoleary","html_url":"https://github.com/anthonyoleary","followers_url":"https://api.github.com/users/anthonyoleary/followers","following_url":"https://api.github.com/users/anthonyoleary/following{/other_user}","gists_url":"https://api.github.com/users/anthonyoleary/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyoleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyoleary/subscriptions","organizations_url":"https://api.github.com/users/anthonyoleary/orgs","repos_url":"https://api.github.com/users/anthonyoleary/repos","events_url":"https://api.github.com/users/anthonyoleary/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyoleary/received_events","type":"User","site_admin":false},"body":"Added the mange user policy.","created_at":"2015-10-29T09:01:39Z","updated_at":"2015-11-02T14:58:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"530264bcda384c3bdcfdd448ed1b0d4f521c7e00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/instedd/cdx/pulls/457/commits","review_comments_url":"https://api.github.com/repos/instedd/cdx/pulls/457/comments","review_comment_url":"https://api.github.com/repos/instedd/cdx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/instedd/cdx/issues/457/comments","statuses_url":"https://api.github.com/repos/instedd/cdx/statuses/179807fee6d4b129228e124411d91422986a1b6d","head":{"label":"finddx:feature/admin-panel-superuser","ref":"feature/admin-panel-superuser","sha":"179807fee6d4b129228e124411d91422986a1b6d","user":{"login":"finddx","id":14787931,"avatar_url":"https://avatars.githubusercontent.com/u/14787931?v=3","gravatar_id":"","url":"https://api.github.com/users/finddx","html_url":"https://github.com/finddx","followers_url":"https://api.github.com/users/finddx/followers","following_url":"https://api.github.com/users/finddx/following{/other_user}","gists_url":"https://api.github.com/users/finddx/gists{/gist_id}","starred_url":"https://api.github.com/users/finddx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finddx/subscriptions","organizations_url":"https://api.github.com/users/finddx/orgs","repos_url":"https://api.github.com/users/finddx/repos","events_url":"https://api.github.com/users/finddx/events{/privacy}","received_events_url":"https://api.github.com/users/finddx/received_events","type":"Organization","site_admin":false},"repo":{"id":42941814,"name":"cdx","full_name":"finddx/cdx","owner":{"login":"finddx","id":14787931,"avatar_url":"https://avatars.githubusercontent.com/u/14787931?v=3","gravatar_id":"","url":"https://api.github.com/users/finddx","html_url":"https://github.com/finddx","followers_url":"https://api.github.com/users/finddx/followers","following_url":"https://api.github.com/users/finddx/following{/other_user}","gists_url":"https://api.github.com/users/finddx/gists{/gist_id}","starred_url":"https://api.github.com/users/finddx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finddx/subscriptions","organizations_url":"https://api.github.com/users/finddx/orgs","repos_url":"https://api.github.com/users/finddx/repos","events_url":"https://api.github.com/users/finddx/events{/privacy}","received_events_url":"https://api.github.com/users/finddx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finddx/cdx","description":"Connected Diagnostics Platform","fork":true,"url":"https://api.github.com/repos/finddx/cdx","forks_url":"https://api.github.com/repos/finddx/cdx/forks","keys_url":"https://api.github.com/repos/finddx/cdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finddx/cdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finddx/cdx/teams","hooks_url":"https://api.github.com/repos/finddx/cdx/hooks","issue_events_url":"https://api.github.com/repos/finddx/cdx/issues/events{/number}","events_url":"https://api.github.com/repos/finddx/cdx/events","assignees_url":"https://api.github.com/repos/finddx/cdx/assignees{/user}","branches_url":"https://api.github.com/repos/finddx/cdx/branches{/branch}","tags_url":"https://api.github.com/repos/finddx/cdx/tags","blobs_url":"https://api.github.com/repos/finddx/cdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finddx/cdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finddx/cdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/finddx/cdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finddx/cdx/statuses/{sha}","languages_url":"https://api.github.com/repos/finddx/cdx/languages","stargazers_url":"https://api.github.com/repos/finddx/cdx/stargazers","contributors_url":"https://api.github.com/repos/finddx/cdx/contributors","subscribers_url":"https://api.github.com/repos/finddx/cdx/subscribers","subscription_url":"https://api.github.com/repos/finddx/cdx/subscription","commits_url":"https://api.github.com/repos/finddx/cdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/finddx/cdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/finddx/cdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/finddx/cdx/issues/comments{/number}","contents_url":"https://api.github.com/repos/finddx/cdx/contents/{+path}","compare_url":"https://api.github.com/repos/finddx/cdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finddx/cdx/merges","archive_url":"https://api.github.com/repos/finddx/cdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finddx/cdx/downloads","issues_url":"https://api.github.com/repos/finddx/cdx/issues{/number}","pulls_url":"https://api.github.com/repos/finddx/cdx/pulls{/number}","milestones_url":"https://api.github.com/repos/finddx/cdx/milestones{/number}","notifications_url":"https://api.github.com/repos/finddx/cdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finddx/cdx/labels{/name}","releases_url":"https://api.github.com/repos/finddx/cdx/releases{/id}","created_at":"2015-09-22T15:14:28Z","updated_at":"2015-09-22T15:14:29Z","pushed_at":"2015-11-02T09:24:48Z","git_url":"git://github.com/finddx/cdx.git","ssh_url":"git@github.com:finddx/cdx.git","clone_url":"https://github.com/finddx/cdx.git","svn_url":"https://github.com/finddx/cdx","homepage":null,"size":3693,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"instedd:master","ref":"master","sha":"4d9f4debfadeff557f45993a5a4b8e3304887543","user":{"login":"instedd","id":1354872,"avatar_url":"https://avatars.githubusercontent.com/u/1354872?v=3","gravatar_id":"","url":"https://api.github.com/users/instedd","html_url":"https://github.com/instedd","followers_url":"https://api.github.com/users/instedd/followers","following_url":"https://api.github.com/users/instedd/following{/other_user}","gists_url":"https://api.github.com/users/instedd/gists{/gist_id}","starred_url":"https://api.github.com/users/instedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instedd/subscriptions","organizations_url":"https://api.github.com/users/instedd/orgs","repos_url":"https://api.github.com/users/instedd/repos","events_url":"https://api.github.com/users/instedd/events{/privacy}","received_events_url":"https://api.github.com/users/instedd/received_events","type":"Organization","site_admin":false},"repo":{"id":23591416,"name":"cdx","full_name":"instedd/cdx","owner":{"login":"instedd","id":1354872,"avatar_url":"https://avatars.githubusercontent.com/u/1354872?v=3","gravatar_id":"","url":"https://api.github.com/users/instedd","html_url":"https://github.com/instedd","followers_url":"https://api.github.com/users/instedd/followers","following_url":"https://api.github.com/users/instedd/following{/other_user}","gists_url":"https://api.github.com/users/instedd/gists{/gist_id}","starred_url":"https://api.github.com/users/instedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instedd/subscriptions","organizations_url":"https://api.github.com/users/instedd/orgs","repos_url":"https://api.github.com/users/instedd/repos","events_url":"https://api.github.com/users/instedd/events{/privacy}","received_events_url":"https://api.github.com/users/instedd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/instedd/cdx","description":"Connected Diagnostics Platform","fork":false,"url":"https://api.github.com/repos/instedd/cdx","forks_url":"https://api.github.com/repos/instedd/cdx/forks","keys_url":"https://api.github.com/repos/instedd/cdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/instedd/cdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/instedd/cdx/teams","hooks_url":"https://api.github.com/repos/instedd/cdx/hooks","issue_events_url":"https://api.github.com/repos/instedd/cdx/issues/events{/number}","events_url":"https://api.github.com/repos/instedd/cdx/events","assignees_url":"https://api.github.com/repos/instedd/cdx/assignees{/user}","branches_url":"https://api.github.com/repos/instedd/cdx/branches{/branch}","tags_url":"https://api.github.com/repos/instedd/cdx/tags","blobs_url":"https://api.github.com/repos/instedd/cdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/instedd/cdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/instedd/cdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/instedd/cdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/instedd/cdx/statuses/{sha}","languages_url":"https://api.github.com/repos/instedd/cdx/languages","stargazers_url":"https://api.github.com/repos/instedd/cdx/stargazers","contributors_url":"https://api.github.com/repos/instedd/cdx/contributors","subscribers_url":"https://api.github.com/repos/instedd/cdx/subscribers","subscription_url":"https://api.github.com/repos/instedd/cdx/subscription","commits_url":"https://api.github.com/repos/instedd/cdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/instedd/cdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/instedd/cdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/instedd/cdx/issues/comments{/number}","contents_url":"https://api.github.com/repos/instedd/cdx/contents/{+path}","compare_url":"https://api.github.com/repos/instedd/cdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/instedd/cdx/merges","archive_url":"https://api.github.com/repos/instedd/cdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/instedd/cdx/downloads","issues_url":"https://api.github.com/repos/instedd/cdx/issues{/number}","pulls_url":"https://api.github.com/repos/instedd/cdx/pulls{/number}","milestones_url":"https://api.github.com/repos/instedd/cdx/milestones{/number}","notifications_url":"https://api.github.com/repos/instedd/cdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/instedd/cdx/labels{/name}","releases_url":"https://api.github.com/repos/instedd/cdx/releases{/id}","created_at":"2014-09-02T18:58:14Z","updated_at":"2015-10-29T17:46:54Z","pushed_at":"2015-11-02T14:04:56Z","git_url":"git://github.com/instedd/cdx.git","ssh_url":"git@github.com:instedd/cdx.git","clone_url":"https://github.com/instedd/cdx.git","svn_url":"https://github.com/instedd/cdx","homepage":null,"size":5946,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":152,"forks":4,"open_issues":152,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/instedd/cdx/pulls/457"},"html":{"href":"https://github.com/instedd/cdx/pull/457"},"issue":{"href":"https://api.github.com/repos/instedd/cdx/issues/457"},"comments":{"href":"https://api.github.com/repos/instedd/cdx/issues/457/comments"},"review_comments":{"href":"https://api.github.com/repos/instedd/cdx/pulls/457/comments"},"review_comment":{"href":"https://api.github.com/repos/instedd/cdx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/instedd/cdx/pulls/457/commits"},"statuses":{"href":"https://api.github.com/repos/instedd/cdx/statuses/179807fee6d4b129228e124411d91422986a1b6d"}}}}