{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/7","id":198532815,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NTMyODE1","html_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker/pull/7","diff_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker/pull/7.diff","patch_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker/pull/7.patch","issue_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/7","number":7,"state":"open","locked":false,"title":"#158317674 Admin edit roles ","user":{"login":"RuthNjeri","id":7622875,"node_id":"MDQ6VXNlcjc2MjI4NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7622875?v=4","gravatar_id":"","url":"https://api.github.com/users/RuthNjeri","html_url":"https://github.com/RuthNjeri","followers_url":"https://api.github.com/users/RuthNjeri/followers","following_url":"https://api.github.com/users/RuthNjeri/following{/other_user}","gists_url":"https://api.github.com/users/RuthNjeri/gists{/gist_id}","starred_url":"https://api.github.com/users/RuthNjeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuthNjeri/subscriptions","organizations_url":"https://api.github.com/users/RuthNjeri/orgs","repos_url":"https://api.github.com/users/RuthNjeri/repos","events_url":"https://api.github.com/users/RuthNjeri/events{/privacy}","received_events_url":"https://api.github.com/users/RuthNjeri/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n1.Allow Admin to upgrade user role.\r\n2. Clear local storage on sign out \r\n\r\n\r\n**How to test the project**\r\nClone the project\r\n`git clone https://github.com/RuthNjeri/UI-Maintenance-Tracker.git`\r\n\r\nOpen the signIn.html and signUp.html pages on the browser a current versions of Firefox or Chrome.\r\n`sign up on the form` as a normal user\r\n`sign in on the form` as an admin with the email `admin@gmail.com` and password `12345678`\r\nClick on the link `Upgrade user` on the Admin page.\r\nEnter the normal user email initially signed in with and log out\r\n\r\n**Relevant Pivotal Tracker Stories?**\r\n[ #158317674](https://www.pivotaltracker.com/story/show/158317674)","created_at":"2018-07-01T16:54:01Z","updated_at":"2018-07-01T16:54:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/7/commits","review_comments_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/7/comments","review_comment_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/7/comments","statuses_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/statuses/7540a16d18d337eea4f92a8772fd9d376b75f75c","head":{"label":"RuthNjeri:ft-admin-edit-roles-158317674","ref":"ft-admin-edit-roles-158317674","sha":"7540a16d18d337eea4f92a8772fd9d376b75f75c","user":{"login":"RuthNjeri","id":7622875,"node_id":"MDQ6VXNlcjc2MjI4NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7622875?v=4","gravatar_id":"","url":"https://api.github.com/users/RuthNjeri","html_url":"https://github.com/RuthNjeri","followers_url":"https://api.github.com/users/RuthNjeri/followers","following_url":"https://api.github.com/users/RuthNjeri/following{/other_user}","gists_url":"https://api.github.com/users/RuthNjeri/gists{/gist_id}","starred_url":"https://api.github.com/users/RuthNjeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuthNjeri/subscriptions","organizations_url":"https://api.github.com/users/RuthNjeri/orgs","repos_url":"https://api.github.com/users/RuthNjeri/repos","events_url":"https://api.github.com/users/RuthNjeri/events{/privacy}","received_events_url":"https://api.github.com/users/RuthNjeri/received_events","type":"User","site_admin":false},"repo":{"id":138229161,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgyMjkxNjE=","name":"UI-Maintenance-Tracker","full_name":"RuthNjeri/UI-Maintenance-Tracker","owner":{"login":"RuthNjeri","id":7622875,"node_id":"MDQ6VXNlcjc2MjI4NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7622875?v=4","gravatar_id":"","url":"https://api.github.com/users/RuthNjeri","html_url":"https://github.com/RuthNjeri","followers_url":"https://api.github.com/users/RuthNjeri/followers","following_url":"https://api.github.com/users/RuthNjeri/following{/other_user}","gists_url":"https://api.github.com/users/RuthNjeri/gists{/gist_id}","starred_url":"https://api.github.com/users/RuthNjeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuthNjeri/subscriptions","organizations_url":"https://api.github.com/users/RuthNjeri/orgs","repos_url":"https://api.github.com/users/RuthNjeri/repos","events_url":"https://api.github.com/users/RuthNjeri/events{/privacy}","received_events_url":"https://api.github.com/users/RuthNjeri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker","description":"Implements the front-end for the Maintenance Application ","fork":false,"url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker","forks_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/deployments","created_at":"2018-06-21T22:46:02Z","updated_at":"2018-07-01T10:14:20Z","pushed_at":"2018-07-01T16:49:54Z","git_url":"git://github.com/RuthNjeri/UI-Maintenance-Tracker.git","ssh_url":"git@github.com:RuthNjeri/UI-Maintenance-Tracker.git","clone_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker.git","svn_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"RuthNjeri:develop","ref":"develop","sha":"c3f7d80679d0dc812f0d62fb00ed290796ce33a2","user":{"login":"RuthNjeri","id":7622875,"node_id":"MDQ6VXNlcjc2MjI4NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7622875?v=4","gravatar_id":"","url":"https://api.github.com/users/RuthNjeri","html_url":"https://github.com/RuthNjeri","followers_url":"https://api.github.com/users/RuthNjeri/followers","following_url":"https://api.github.com/users/RuthNjeri/following{/other_user}","gists_url":"https://api.github.com/users/RuthNjeri/gists{/gist_id}","starred_url":"https://api.github.com/users/RuthNjeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuthNjeri/subscriptions","organizations_url":"https://api.github.com/users/RuthNjeri/orgs","repos_url":"https://api.github.com/users/RuthNjeri/repos","events_url":"https://api.github.com/users/RuthNjeri/events{/privacy}","received_events_url":"https://api.github.com/users/RuthNjeri/received_events","type":"User","site_admin":false},"repo":{"id":138229161,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgyMjkxNjE=","name":"UI-Maintenance-Tracker","full_name":"RuthNjeri/UI-Maintenance-Tracker","owner":{"login":"RuthNjeri","id":7622875,"node_id":"MDQ6VXNlcjc2MjI4NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/7622875?v=4","gravatar_id":"","url":"https://api.github.com/users/RuthNjeri","html_url":"https://github.com/RuthNjeri","followers_url":"https://api.github.com/users/RuthNjeri/followers","following_url":"https://api.github.com/users/RuthNjeri/following{/other_user}","gists_url":"https://api.github.com/users/RuthNjeri/gists{/gist_id}","starred_url":"https://api.github.com/users/RuthNjeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuthNjeri/subscriptions","organizations_url":"https://api.github.com/users/RuthNjeri/orgs","repos_url":"https://api.github.com/users/RuthNjeri/repos","events_url":"https://api.github.com/users/RuthNjeri/events{/privacy}","received_events_url":"https://api.github.com/users/RuthNjeri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker","description":"Implements the front-end for the Maintenance Application ","fork":false,"url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker","forks_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/deployments","created_at":"2018-06-21T22:46:02Z","updated_at":"2018-07-01T10:14:20Z","pushed_at":"2018-07-01T16:49:54Z","git_url":"git://github.com/RuthNjeri/UI-Maintenance-Tracker.git","ssh_url":"git@github.com:RuthNjeri/UI-Maintenance-Tracker.git","clone_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker.git","svn_url":"https://github.com/RuthNjeri/UI-Maintenance-Tracker","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/7"},"html":{"href":"https://github.com/RuthNjeri/UI-Maintenance-Tracker/pull/7"},"issue":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/7"},"comments":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/RuthNjeri/UI-Maintenance-Tracker/statuses/7540a16d18d337eea4f92a8772fd9d376b75f75c"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":300,"deletions":27,"changed_files":13}}
{"actor":{"display_login":"RuthNjeri"}}