{"action":"created","comment":{"url":"https://api.github.com/repos/simpledotorg/simple-server/pulls/comments/208107546","pull_request_review_id":143844833,"id":208107546,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODEwNzU0Ng==","diff_hunk":"@@ -1,6 +1,12 @@\n class User < ApplicationRecord\n   include Mergeable\n \n+  enum sync_approval_status: {\n+    waiting: 'waiting',","path":"app/models/user.rb","position":5,"original_position":5,"commit_id":"4c89ae3989effaed96eca56a4e0c8f4627aa53c0","original_commit_id":"4c89ae3989effaed96eca56a4e0c8f4627aa53c0","user":{"login":"ssrihari","id":1003238,"node_id":"MDQ6VXNlcjEwMDMyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1003238?v=4","gravatar_id":"","url":"https://api.github.com/users/ssrihari","html_url":"https://github.com/ssrihari","followers_url":"https://api.github.com/users/ssrihari/followers","following_url":"https://api.github.com/users/ssrihari/following{/other_user}","gists_url":"https://api.github.com/users/ssrihari/gists{/gist_id}","starred_url":"https://api.github.com/users/ssrihari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssrihari/subscriptions","organizations_url":"https://api.github.com/users/ssrihari/orgs","repos_url":"https://api.github.com/users/ssrihari/repos","events_url":"https://api.github.com/users/ssrihari/events{/privacy}","received_events_url":"https://api.github.com/users/ssrihari/received_events","type":"User","site_admin":false},"body":"Also from a user's perspective, let's call the other statuses `allowed` and `denied`. The buttons can be 'allow access', and `deny access`. Further, the actions to allow/deny access post registration can also remain the same.","created_at":"2018-08-07T06:05:58Z","updated_at":"2018-08-07T06:43:36Z","html_url":"https://github.com/simpledotorg/simple-server/pull/73#discussion_r208107546","pull_request_url":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/simpledotorg/simple-server/pulls/comments/208107546"},"html":{"href":"https://github.com/simpledotorg/simple-server/pull/73#discussion_r208107546"},"pull_request":{"href":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73"}},"in_reply_to_id":208102950},"pull_request":{"url":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73","id":204094637,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MDk0NjM3","html_url":"https://github.com/simpledotorg/simple-server/pull/73","diff_url":"https://github.com/simpledotorg/simple-server/pull/73.diff","patch_url":"https://github.com/simpledotorg/simple-server/pull/73.patch","issue_url":"https://api.github.com/repos/simpledotorg/simple-server/issues/73","number":73,"state":"open","locked":false,"title":"Nurse self registration","user":{"login":"govindkrjoshi","id":3933133,"node_id":"MDQ6VXNlcjM5MzMxMzM=","avatar_url":"https://avatars0.githubusercontent.com/u/3933133?v=4","gravatar_id":"","url":"https://api.github.com/users/govindkrjoshi","html_url":"https://github.com/govindkrjoshi","followers_url":"https://api.github.com/users/govindkrjoshi/followers","following_url":"https://api.github.com/users/govindkrjoshi/following{/other_user}","gists_url":"https://api.github.com/users/govindkrjoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/govindkrjoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govindkrjoshi/subscriptions","organizations_url":"https://api.github.com/users/govindkrjoshi/orgs","repos_url":"https://api.github.com/users/govindkrjoshi/repos","events_url":"https://api.github.com/users/govindkrjoshi/events{/privacy}","received_events_url":"https://api.github.com/users/govindkrjoshi/received_events","type":"User","site_admin":false},"body":"Issue: https://www.pivotaltracker.com/story/show/159268022","created_at":"2018-07-26T10:18:42Z","updated_at":"2018-08-07T06:43:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4a6089adfb232ec98828a90528274dd88a71c54","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73/commits","review_comments_url":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73/comments","review_comment_url":"https://api.github.com/repos/simpledotorg/simple-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simpledotorg/simple-server/issues/73/comments","statuses_url":"https://api.github.com/repos/simpledotorg/simple-server/statuses/4c89ae3989effaed96eca56a4e0c8f4627aa53c0","head":{"label":"simpledotorg:nurse-self-registration","ref":"nurse-self-registration","sha":"4c89ae3989effaed96eca56a4e0c8f4627aa53c0","user":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"repo":{"id":132516184,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MTYxODQ=","name":"simple-server","full_name":"simpledotorg/simple-server","owner":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simpledotorg/simple-server","description":"A Rails backend to support the Simple.org mobile app","fork":false,"url":"https://api.github.com/repos/simpledotorg/simple-server","forks_url":"https://api.github.com/repos/simpledotorg/simple-server/forks","keys_url":"https://api.github.com/repos/simpledotorg/simple-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simpledotorg/simple-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simpledotorg/simple-server/teams","hooks_url":"https://api.github.com/repos/simpledotorg/simple-server/hooks","issue_events_url":"https://api.github.com/repos/simpledotorg/simple-server/issues/events{/number}","events_url":"https://api.github.com/repos/simpledotorg/simple-server/events","assignees_url":"https://api.github.com/repos/simpledotorg/simple-server/assignees{/user}","branches_url":"https://api.github.com/repos/simpledotorg/simple-server/branches{/branch}","tags_url":"https://api.github.com/repos/simpledotorg/simple-server/tags","blobs_url":"https://api.github.com/repos/simpledotorg/simple-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simpledotorg/simple-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simpledotorg/simple-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/simpledotorg/simple-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simpledotorg/simple-server/statuses/{sha}","languages_url":"https://api.github.com/repos/simpledotorg/simple-server/languages","stargazers_url":"https://api.github.com/repos/simpledotorg/simple-server/stargazers","contributors_url":"https://api.github.com/repos/simpledotorg/simple-server/contributors","subscribers_url":"https://api.github.com/repos/simpledotorg/simple-server/subscribers","subscription_url":"https://api.github.com/repos/simpledotorg/simple-server/subscription","commits_url":"https://api.github.com/repos/simpledotorg/simple-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/simpledotorg/simple-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/simpledotorg/simple-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/simpledotorg/simple-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/simpledotorg/simple-server/contents/{+path}","compare_url":"https://api.github.com/repos/simpledotorg/simple-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simpledotorg/simple-server/merges","archive_url":"https://api.github.com/repos/simpledotorg/simple-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simpledotorg/simple-server/downloads","issues_url":"https://api.github.com/repos/simpledotorg/simple-server/issues{/number}","pulls_url":"https://api.github.com/repos/simpledotorg/simple-server/pulls{/number}","milestones_url":"https://api.github.com/repos/simpledotorg/simple-server/milestones{/number}","notifications_url":"https://api.github.com/repos/simpledotorg/simple-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simpledotorg/simple-server/labels{/name}","releases_url":"https://api.github.com/repos/simpledotorg/simple-server/releases{/id}","deployments_url":"https://api.github.com/repos/simpledotorg/simple-server/deployments","created_at":"2018-05-07T21:03:09Z","updated_at":"2018-08-06T06:00:49Z","pushed_at":"2018-08-07T05:11:29Z","git_url":"git://github.com/simpledotorg/simple-server.git","ssh_url":"git@github.com:simpledotorg/simple-server.git","clone_url":"https://github.com/simpledotorg/simple-server.git","svn_url":"https://github.com/simpledotorg/simple-server","homepage":"","size":350,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":6,"default_branch":"master"}},"base":{"label":"simpledotorg:master","ref":"master","sha":"338ce1132a16cab90edddd3dd3aca79385893c31","user":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"repo":{"id":132516184,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MTYxODQ=","name":"simple-server","full_name":"simpledotorg/simple-server","owner":{"login":"simpledotorg","id":40570251,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTcwMjUx","avatar_url":"https://avatars0.githubusercontent.com/u/40570251?v=4","gravatar_id":"","url":"https://api.github.com/users/simpledotorg","html_url":"https://github.com/simpledotorg","followers_url":"https://api.github.com/users/simpledotorg/followers","following_url":"https://api.github.com/users/simpledotorg/following{/other_user}","gists_url":"https://api.github.com/users/simpledotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/simpledotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpledotorg/subscriptions","organizations_url":"https://api.github.com/users/simpledotorg/orgs","repos_url":"https://api.github.com/users/simpledotorg/repos","events_url":"https://api.github.com/users/simpledotorg/events{/privacy}","received_events_url":"https://api.github.com/users/simpledotorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simpledotorg/simple-server","description":"A Rails backend to support the Simple.org mobile app","fork":false,"url":"https://api.github.com/repos/simpledotorg/simple-server","forks_url":"https://api.github.com/repos/simpledotorg/simple-server/forks","keys_url":"https://api.github.com/repos/simpledotorg/simple-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simpledotorg/simple-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simpledotorg/simple-server/teams","hooks_url":"https://api.github.com/repos/simpledotorg/simple-server/hooks","issue_events_url":"https://api.github.com/repos/simpledotorg/simple-server/issues/events{/number}","events_url":"https://api.github.com/repos/simpledotorg/simple-server/events","assignees_url":"https://api.github.com/repos/simpledotorg/simple-server/assignees{/user}","branches_url":"https://api.github.com/repos/simpledotorg/simple-server/branches{/branch}","tags_url":"https://api.github.com/repos/simpledotorg/simple-server/tags","blobs_url":"https://api.github.com/repos/simpledotorg/simple-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simpledotorg/simple-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simpledotorg/simple-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/simpledotorg/simple-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simpledotorg/simple-server/statuses/{sha}","languages_url":"https://api.github.com/repos/simpledotorg/simple-server/languages","stargazers_url":"https://api.github.com/repos/simpledotorg/simple-server/stargazers","contributors_url":"https://api.github.com/repos/simpledotorg/simple-server/contributors","subscribers_url":"https://api.github.com/repos/simpledotorg/simple-server/subscribers","subscription_url":"https://api.github.com/repos/simpledotorg/simple-server/subscription","commits_url":"https://api.github.com/repos/simpledotorg/simple-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/simpledotorg/simple-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/simpledotorg/simple-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/simpledotorg/simple-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/simpledotorg/simple-server/contents/{+path}","compare_url":"https://api.github.com/repos/simpledotorg/simple-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simpledotorg/simple-server/merges","archive_url":"https://api.github.com/repos/simpledotorg/simple-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simpledotorg/simple-server/downloads","issues_url":"https://api.github.com/repos/simpledotorg/simple-server/issues{/number}","pulls_url":"https://api.github.com/repos/simpledotorg/simple-server/pulls{/number}","milestones_url":"https://api.github.com/repos/simpledotorg/simple-server/milestones{/number}","notifications_url":"https://api.github.com/repos/simpledotorg/simple-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simpledotorg/simple-server/labels{/name}","releases_url":"https://api.github.com/repos/simpledotorg/simple-server/releases{/id}","deployments_url":"https://api.github.com/repos/simpledotorg/simple-server/deployments","created_at":"2018-05-07T21:03:09Z","updated_at":"2018-08-06T06:00:49Z","pushed_at":"2018-08-07T05:11:29Z","git_url":"git://github.com/simpledotorg/simple-server.git","ssh_url":"git@github.com:simpledotorg/simple-server.git","clone_url":"https://github.com/simpledotorg/simple-server.git","svn_url":"https://github.com/simpledotorg/simple-server","homepage":"","size":350,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73"},"html":{"href":"https://github.com/simpledotorg/simple-server/pull/73"},"issue":{"href":"https://api.github.com/repos/simpledotorg/simple-server/issues/73"},"comments":{"href":"https://api.github.com/repos/simpledotorg/simple-server/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/simpledotorg/simple-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simpledotorg/simple-server/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/simpledotorg/simple-server/statuses/4c89ae3989effaed96eca56a4e0c8f4627aa53c0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ssrihari"}}