{"action":"created","comment":{"url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/comments/215907233","pull_request_review_id":153276386,"id":215907233,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTkwNzIzMw==","diff_hunk":"@@ -225,6 +227,18 @@ def confirm_change_enrolment_status(ru_ref):\n                            change_flag=request.args['change_flag'])\n \n \n+@reporting_unit_bp.route('/<ru_ref>/change-respondent-status', methods=['GET'])\n+@login_required\n+def confirm_change_respondent_status(ru_ref):\n+    return render_template('confirm-respondent-status-change.html',\n+                           ru_ref=ru_ref,\n+                           respondent_id=request.args['party_id'],\n+                           first_name=request.args['respondent_first_name'],\n+                           last_name=request.args['respondent_last_name'],\n+                           email_address=request.args['email_address'],","path":"response_operations_ui/views/reporting_units.py","position":30,"original_position":30,"commit_id":"4430a2b9658cf3d21f9b5e21efd9049d22764fc9","original_commit_id":"4430a2b9658cf3d21f9b5e21efd9049d22764fc9","user":{"login":"tej99","id":22023234,"node_id":"MDQ6VXNlcjIyMDIzMjM0","avatar_url":"https://avatars0.githubusercontent.com/u/22023234?v=4","gravatar_id":"","url":"https://api.github.com/users/tej99","html_url":"https://github.com/tej99","followers_url":"https://api.github.com/users/tej99/followers","following_url":"https://api.github.com/users/tej99/following{/other_user}","gists_url":"https://api.github.com/users/tej99/gists{/gist_id}","starred_url":"https://api.github.com/users/tej99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tej99/subscriptions","organizations_url":"https://api.github.com/users/tej99/orgs","repos_url":"https://api.github.com/users/tej99/repos","events_url":"https://api.github.com/users/tej99/events{/privacy}","received_events_url":"https://api.github.com/users/tej99/received_events","type":"User","site_admin":false},"body":"We shouldn't be passing email as a query param","created_at":"2018-09-07T09:52:47Z","updated_at":"2018-09-07T09:53:06Z","html_url":"https://github.com/ONSdigital/response-operations-ui/pull/238#discussion_r215907233","pull_request_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/comments/215907233"},"html":{"href":"https://github.com/ONSdigital/response-operations-ui/pull/238#discussion_r215907233"},"pull_request":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238"}}},"pull_request":{"url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238","id":213855870,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzODU1ODcw","html_url":"https://github.com/ONSdigital/response-operations-ui/pull/238","diff_url":"https://github.com/ONSdigital/response-operations-ui/pull/238.diff","patch_url":"https://github.com/ONSdigital/response-operations-ui/pull/238.patch","issue_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/238","number":238,"state":"open","locked":false,"title":"268 ability to unlock a respondents account","user":{"login":"shahi645","id":22025926,"node_id":"MDQ6VXNlcjIyMDI1OTI2","avatar_url":"https://avatars0.githubusercontent.com/u/22025926?v=4","gravatar_id":"","url":"https://api.github.com/users/shahi645","html_url":"https://github.com/shahi645","followers_url":"https://api.github.com/users/shahi645/followers","following_url":"https://api.github.com/users/shahi645/following{/other_user}","gists_url":"https://api.github.com/users/shahi645/gists{/gist_id}","starred_url":"https://api.github.com/users/shahi645/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahi645/subscriptions","organizations_url":"https://api.github.com/users/shahi645/orgs","repos_url":"https://api.github.com/users/shahi645/repos","events_url":"https://api.github.com/users/shahi645/events{/privacy}","received_events_url":"https://api.github.com/users/shahi645/received_events","type":"User","site_admin":false},"body":"# Motivation and Context\r\nAdding the ability for an internal user to unlock a respondent from RU page on ROps\r\n\r\n\r\n# What has changed\r\nWhen respondent is locked out, and RU page is displayed internally. Lock status show with an unlock link below. When clicked a confirm page is displayed. \r\n\r\n# How to test?\r\nRun in conjunction with other branches:\r\nFrontstage: 268-update-party-service-with-acount-lock\r\nROps: 268-ability-to-unlock-a-respondents-account\r\nParty: 268-party-lock-account-in-djano-oauth2\r\n\r\nTry unlocking from ROps, should work and be able to log in.\r\n","created_at":"2018-09-07T08:39:26Z","updated_at":"2018-09-07T09:53:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"269b1bcc35e0058b512f51d5bd1fa6ac4731eb14","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/238/comments","statuses_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/statuses/4430a2b9658cf3d21f9b5e21efd9049d22764fc9","head":{"label":"ONSdigital:268-ability-to-unlock-a-respondents-account","ref":"268-ability-to-unlock-a-respondents-account","sha":"4430a2b9658cf3d21f9b5e21efd9049d22764fc9","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":112603785,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2MDM3ODU=","name":"response-operations-ui","full_name":"ONSdigital/response-operations-ui","owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/response-operations-ui","description":null,"fork":false,"url":"https://api.github.com/repos/ONSdigital/response-operations-ui","forks_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/forks","keys_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/teams","hooks_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/events","assignees_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/tags","blobs_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/subscription","commits_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/merges","archive_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/downloads","issues_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/deployments","created_at":"2017-11-30T11:31:09Z","updated_at":"2018-09-06T12:08:00Z","pushed_at":"2018-09-07T08:39:27Z","git_url":"git://github.com/ONSdigital/response-operations-ui.git","ssh_url":"git@github.com:ONSdigital/response-operations-ui.git","clone_url":"https://github.com/ONSdigital/response-operations-ui.git","svn_url":"https://github.com/ONSdigital/response-operations-ui","homepage":null,"size":668,"stargazers_count":1,"watchers_count":1,"language":"Python","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":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"ONSdigital:master","ref":"master","sha":"db68e0ff1676ffca10e3132e894611c043ff4ad1","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":112603785,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI2MDM3ODU=","name":"response-operations-ui","full_name":"ONSdigital/response-operations-ui","owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/response-operations-ui","description":null,"fork":false,"url":"https://api.github.com/repos/ONSdigital/response-operations-ui","forks_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/forks","keys_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/teams","hooks_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/events","assignees_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/tags","blobs_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/subscription","commits_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/merges","archive_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/downloads","issues_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/response-operations-ui/deployments","created_at":"2017-11-30T11:31:09Z","updated_at":"2018-09-06T12:08:00Z","pushed_at":"2018-09-07T08:39:27Z","git_url":"git://github.com/ONSdigital/response-operations-ui.git","ssh_url":"git@github.com:ONSdigital/response-operations-ui.git","clone_url":"https://github.com/ONSdigital/response-operations-ui.git","svn_url":"https://github.com/ONSdigital/response-operations-ui","homepage":null,"size":668,"stargazers_count":1,"watchers_count":1,"language":"Python","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":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238"},"html":{"href":"https://github.com/ONSdigital/response-operations-ui/pull/238"},"issue":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/238"},"comments":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/response-operations-ui/statuses/4430a2b9658cf3d21f9b5e21efd9049d22764fc9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tej99"}}