{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/comments/213936974","pull_request_review_id":150877944,"id":213936974,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzkzNjk3NA==","diff_hunk":"@@ -28,6 +28,15 @@ class HomePage extends Component {\n               <div className=\"padding-right-large\">Check a prisoner's key worker and allocate manually.</div>\n             </div>\n           </div>\n+          {this.props.user && (this.props.user.maintainAccess /* || this.props.user.migration */) &&","path":"src/KeyworkerManagement/index.js","position":4,"original_position":4,"commit_id":"d926aa7992614da892fcaf02054afcff3d13eaba","original_commit_id":"d926aa7992614da892fcaf02054afcff3d13eaba","user":{"login":"lbennett-moj","id":34441186,"node_id":"MDQ6VXNlcjM0NDQxMTg2","avatar_url":"https://avatars3.githubusercontent.com/u/34441186?v=4","gravatar_id":"","url":"https://api.github.com/users/lbennett-moj","html_url":"https://github.com/lbennett-moj","followers_url":"https://api.github.com/users/lbennett-moj/followers","following_url":"https://api.github.com/users/lbennett-moj/following{/other_user}","gists_url":"https://api.github.com/users/lbennett-moj/gists{/gist_id}","starred_url":"https://api.github.com/users/lbennett-moj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbennett-moj/subscriptions","organizations_url":"https://api.github.com/users/lbennett-moj/orgs","repos_url":"https://api.github.com/users/lbennett-moj/repos","events_url":"https://api.github.com/users/lbennett-moj/events{/privacy}","received_events_url":"https://api.github.com/users/lbennett-moj/received_events","type":"User","site_admin":false},"body":"hiding the admin tasks if the roles aren't there.  Migration role will be coming in the next story","created_at":"2018-08-30T08:02:20Z","updated_at":"2018-08-30T08:02:20Z","html_url":"https://github.com/ministryofjustice/omic-ui/pull/222#discussion_r213936974","pull_request_url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/comments/213936974"},"html":{"href":"https://github.com/ministryofjustice/omic-ui/pull/222#discussion_r213936974"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222","id":211988468,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExOTg4NDY4","html_url":"https://github.com/ministryofjustice/omic-ui/pull/222","diff_url":"https://github.com/ministryofjustice/omic-ui/pull/222.diff","patch_url":"https://github.com/ministryofjustice/omic-ui/pull/222.patch","issue_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/222","number":222,"state":"open","locked":false,"title":"admin screen for staff with MAINTAIN_ACCESS_ROLES role for enabling n…","user":{"login":"lbennett-moj","id":34441186,"node_id":"MDQ6VXNlcjM0NDQxMTg2","avatar_url":"https://avatars3.githubusercontent.com/u/34441186?v=4","gravatar_id":"","url":"https://api.github.com/users/lbennett-moj","html_url":"https://github.com/lbennett-moj","followers_url":"https://api.github.com/users/lbennett-moj/followers","following_url":"https://api.github.com/users/lbennett-moj/following{/other_user}","gists_url":"https://api.github.com/users/lbennett-moj/gists{/gist_id}","starred_url":"https://api.github.com/users/lbennett-moj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbennett-moj/subscriptions","organizations_url":"https://api.github.com/users/lbennett-moj/orgs","repos_url":"https://api.github.com/users/lbennett-moj/repos","events_url":"https://api.github.com/users/lbennett-moj/events{/privacy}","received_events_url":"https://api.github.com/users/lbennett-moj/received_events","type":"User","site_admin":false},"body":"…ew nomis access","created_at":"2018-08-30T07:58:32Z","updated_at":"2018-08-30T08:02:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a33b2d4b551b16d272b1ddcfa1098f264f60c4aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/222/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/omic-ui/statuses/d926aa7992614da892fcaf02054afcff3d13eaba","head":{"label":"ministryofjustice:NN_1119_admin_screen_anable_new_nomis","ref":"NN_1119_admin_screen_anable_new_nomis","sha":"d926aa7992614da892fcaf02054afcff3d13eaba","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":118583378,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg1ODMzNzg=","name":"omic-ui","full_name":"ministryofjustice/omic-ui","owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/omic-ui","description":"UI and Backend for Frontend of OMIC Go","fork":false,"url":"https://api.github.com/repos/ministryofjustice/omic-ui","forks_url":"https://api.github.com/repos/ministryofjustice/omic-ui/forks","keys_url":"https://api.github.com/repos/ministryofjustice/omic-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/omic-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/omic-ui/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/omic-ui/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/omic-ui/events","assignees_url":"https://api.github.com/repos/ministryofjustice/omic-ui/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/omic-ui/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/omic-ui/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/omic-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/omic-ui/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/omic-ui/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/omic-ui/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/omic-ui/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/omic-ui/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/omic-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/omic-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/omic-ui/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/omic-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/omic-ui/merges","archive_url":"https://api.github.com/repos/ministryofjustice/omic-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/omic-ui/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/omic-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/omic-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/omic-ui/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/omic-ui/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/omic-ui/deployments","created_at":"2018-01-23T08:50:21Z","updated_at":"2018-08-24T13:17:21Z","pushed_at":"2018-08-30T07:58:32Z","git_url":"git://github.com/ministryofjustice/omic-ui.git","ssh_url":"git@github.com:ministryofjustice/omic-ui.git","clone_url":"https://github.com/ministryofjustice/omic-ui.git","svn_url":"https://github.com/ministryofjustice/omic-ui","homepage":"","size":10548,"stargazers_count":1,"watchers_count":1,"language":"CSS","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"58e0ec4b18cfb046ad7dca491129628fe368ff80","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":118583378,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg1ODMzNzg=","name":"omic-ui","full_name":"ministryofjustice/omic-ui","owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/omic-ui","description":"UI and Backend for Frontend of OMIC Go","fork":false,"url":"https://api.github.com/repos/ministryofjustice/omic-ui","forks_url":"https://api.github.com/repos/ministryofjustice/omic-ui/forks","keys_url":"https://api.github.com/repos/ministryofjustice/omic-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/omic-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/omic-ui/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/omic-ui/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/omic-ui/events","assignees_url":"https://api.github.com/repos/ministryofjustice/omic-ui/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/omic-ui/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/omic-ui/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/omic-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/omic-ui/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/omic-ui/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/omic-ui/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/omic-ui/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/omic-ui/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/omic-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/omic-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/omic-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/omic-ui/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/omic-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/omic-ui/merges","archive_url":"https://api.github.com/repos/ministryofjustice/omic-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/omic-ui/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/omic-ui/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/omic-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/omic-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/omic-ui/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/omic-ui/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/omic-ui/deployments","created_at":"2018-01-23T08:50:21Z","updated_at":"2018-08-24T13:17:21Z","pushed_at":"2018-08-30T07:58:32Z","git_url":"git://github.com/ministryofjustice/omic-ui.git","ssh_url":"git@github.com:ministryofjustice/omic-ui.git","clone_url":"https://github.com/ministryofjustice/omic-ui.git","svn_url":"https://github.com/ministryofjustice/omic-ui","homepage":"","size":10548,"stargazers_count":1,"watchers_count":1,"language":"CSS","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222"},"html":{"href":"https://github.com/ministryofjustice/omic-ui/pull/222"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/222"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/omic-ui/statuses/d926aa7992614da892fcaf02054afcff3d13eaba"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lbennett-moj"}}