{"action":"created","comment":{"url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/comments/233241471","pull_request_review_id":174610865,"id":233241471,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzI0MTQ3MQ==","diff_hunk":"@@ -45,6 +45,8 @@ class EditGroup extends Component {\n       blocking: false,\n       messageWhenBlocked: '',\n     };\n+    this.isAdmin = (typeof window.localStorage.getItem('sessionAdmin') !== 'undefined')","path":"src/views/EditGroup.jsx","position":23,"original_position":4,"commit_id":"b02ad995f58abbdbb09d98644248d1d8a1d6e64e","original_commit_id":"e174a49ed153f2650cf3ac392fe29b2197c9a440","user":{"login":"manuel-saravia","id":31661460,"node_id":"MDQ6VXNlcjMxNjYxNDYw","avatar_url":"https://avatars1.githubusercontent.com/u/31661460?v=4","gravatar_id":"","url":"https://api.github.com/users/manuel-saravia","html_url":"https://github.com/manuel-saravia","followers_url":"https://api.github.com/users/manuel-saravia/followers","following_url":"https://api.github.com/users/manuel-saravia/following{/other_user}","gists_url":"https://api.github.com/users/manuel-saravia/gists{/gist_id}","starred_url":"https://api.github.com/users/manuel-saravia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuel-saravia/subscriptions","organizations_url":"https://api.github.com/users/manuel-saravia/orgs","repos_url":"https://api.github.com/users/manuel-saravia/repos","events_url":"https://api.github.com/users/manuel-saravia/events{/privacy}","received_events_url":"https://api.github.com/users/manuel-saravia/received_events","type":"User","site_admin":false},"body":"Same as above regarding the `typeof window.localStorage.getItem('sessionAdmin') !== 'undefined'` check.","created_at":"2018-11-13T22:09:21Z","updated_at":"2018-11-13T22:35:20Z","html_url":"https://github.com/wyeworks/pis-wyehome-frontend/pull/72#discussion_r233241471","pull_request_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/comments/233241471"},"html":{"href":"https://github.com/wyeworks/pis-wyehome-frontend/pull/72#discussion_r233241471"},"pull_request":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72","id":229905992,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTA1OTky","html_url":"https://github.com/wyeworks/pis-wyehome-frontend/pull/72","diff_url":"https://github.com/wyeworks/pis-wyehome-frontend/pull/72.diff","patch_url":"https://github.com/wyeworks/pis-wyehome-frontend/pull/72.patch","issue_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/72","number":72,"state":"open","locked":false,"title":"Feature super admin 159958746","user":{"login":"Gimli76","id":9361123,"node_id":"MDQ6VXNlcjkzNjExMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/9361123?v=4","gravatar_id":"","url":"https://api.github.com/users/Gimli76","html_url":"https://github.com/Gimli76","followers_url":"https://api.github.com/users/Gimli76/followers","following_url":"https://api.github.com/users/Gimli76/following{/other_user}","gists_url":"https://api.github.com/users/Gimli76/gists{/gist_id}","starred_url":"https://api.github.com/users/Gimli76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gimli76/subscriptions","organizations_url":"https://api.github.com/users/Gimli76/orgs","repos_url":"https://api.github.com/users/Gimli76/repos","events_url":"https://api.github.com/users/Gimli76/events{/privacy}","received_events_url":"https://api.github.com/users/Gimli76/received_events","type":"User","site_admin":false},"body":"This feature adds suport for Super Admins. There is a particular user configured to be THE Super Admin, and a group of normal users, who are also superadmins.\r\n\r\n**Work in progress...**","created_at":"2018-11-10T18:40:23Z","updated_at":"2018-11-13T22:35:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85dab1772170ca5550817ae91948ca3f31ad8a51","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1123061137,"node_id":"MDU6TGFiZWwxMTIzMDYxMTM3","url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/labels/work%20in%20progress","name":"work in progress","color":"c7d5fc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72/commits","review_comments_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72/comments","review_comment_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/72/comments","statuses_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/statuses/b02ad995f58abbdbb09d98644248d1d8a1d6e64e","head":{"label":"wyeworks:feature-SuperAdmin-159958746","ref":"feature-SuperAdmin-159958746","sha":"b02ad995f58abbdbb09d98644248d1d8a1d6e64e","user":{"login":"wyeworks","id":135745,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/135745?v=4","gravatar_id":"","url":"https://api.github.com/users/wyeworks","html_url":"https://github.com/wyeworks","followers_url":"https://api.github.com/users/wyeworks/followers","following_url":"https://api.github.com/users/wyeworks/following{/other_user}","gists_url":"https://api.github.com/users/wyeworks/gists{/gist_id}","starred_url":"https://api.github.com/users/wyeworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyeworks/subscriptions","organizations_url":"https://api.github.com/users/wyeworks/orgs","repos_url":"https://api.github.com/users/wyeworks/repos","events_url":"https://api.github.com/users/wyeworks/events{/privacy}","received_events_url":"https://api.github.com/users/wyeworks/received_events","type":"Organization","site_admin":false},"repo":{"id":146664132,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY2NjQxMzI=","name":"pis-wyehome-frontend","full_name":"wyeworks/pis-wyehome-frontend","private":false,"owner":{"login":"wyeworks","id":135745,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/135745?v=4","gravatar_id":"","url":"https://api.github.com/users/wyeworks","html_url":"https://github.com/wyeworks","followers_url":"https://api.github.com/users/wyeworks/followers","following_url":"https://api.github.com/users/wyeworks/following{/other_user}","gists_url":"https://api.github.com/users/wyeworks/gists{/gist_id}","starred_url":"https://api.github.com/users/wyeworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyeworks/subscriptions","organizations_url":"https://api.github.com/users/wyeworks/orgs","repos_url":"https://api.github.com/users/wyeworks/repos","events_url":"https://api.github.com/users/wyeworks/events{/privacy}","received_events_url":"https://api.github.com/users/wyeworks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wyeworks/pis-wyehome-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend","forks_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/forks","keys_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/teams","hooks_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/hooks","issue_events_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/events","assignees_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/tags","blobs_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/languages","stargazers_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/stargazers","contributors_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/contributors","subscribers_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/subscribers","subscription_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/subscription","commits_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/merges","archive_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/downloads","issues_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/labels{/name}","releases_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/deployments","created_at":"2018-08-29T22:06:44Z","updated_at":"2018-11-02T18:15:58Z","pushed_at":"2018-11-13T22:04:56Z","git_url":"git://github.com/wyeworks/pis-wyehome-frontend.git","ssh_url":"git@github.com:wyeworks/pis-wyehome-frontend.git","clone_url":"https://github.com/wyeworks/pis-wyehome-frontend.git","svn_url":"https://github.com/wyeworks/pis-wyehome-frontend","homepage":null,"size":6895,"stargazers_count":5,"watchers_count":5,"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":7,"license":null,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"base":{"label":"wyeworks:development","ref":"development","sha":"d402fb20f35242d021310c9a32c5f8c97edf7265","user":{"login":"wyeworks","id":135745,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/135745?v=4","gravatar_id":"","url":"https://api.github.com/users/wyeworks","html_url":"https://github.com/wyeworks","followers_url":"https://api.github.com/users/wyeworks/followers","following_url":"https://api.github.com/users/wyeworks/following{/other_user}","gists_url":"https://api.github.com/users/wyeworks/gists{/gist_id}","starred_url":"https://api.github.com/users/wyeworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyeworks/subscriptions","organizations_url":"https://api.github.com/users/wyeworks/orgs","repos_url":"https://api.github.com/users/wyeworks/repos","events_url":"https://api.github.com/users/wyeworks/events{/privacy}","received_events_url":"https://api.github.com/users/wyeworks/received_events","type":"Organization","site_admin":false},"repo":{"id":146664132,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY2NjQxMzI=","name":"pis-wyehome-frontend","full_name":"wyeworks/pis-wyehome-frontend","private":false,"owner":{"login":"wyeworks","id":135745,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/135745?v=4","gravatar_id":"","url":"https://api.github.com/users/wyeworks","html_url":"https://github.com/wyeworks","followers_url":"https://api.github.com/users/wyeworks/followers","following_url":"https://api.github.com/users/wyeworks/following{/other_user}","gists_url":"https://api.github.com/users/wyeworks/gists{/gist_id}","starred_url":"https://api.github.com/users/wyeworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyeworks/subscriptions","organizations_url":"https://api.github.com/users/wyeworks/orgs","repos_url":"https://api.github.com/users/wyeworks/repos","events_url":"https://api.github.com/users/wyeworks/events{/privacy}","received_events_url":"https://api.github.com/users/wyeworks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wyeworks/pis-wyehome-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend","forks_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/forks","keys_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/teams","hooks_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/hooks","issue_events_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/events","assignees_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/tags","blobs_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/languages","stargazers_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/stargazers","contributors_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/contributors","subscribers_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/subscribers","subscription_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/subscription","commits_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/merges","archive_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/downloads","issues_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/labels{/name}","releases_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/deployments","created_at":"2018-08-29T22:06:44Z","updated_at":"2018-11-02T18:15:58Z","pushed_at":"2018-11-13T22:04:56Z","git_url":"git://github.com/wyeworks/pis-wyehome-frontend.git","ssh_url":"git@github.com:wyeworks/pis-wyehome-frontend.git","clone_url":"https://github.com/wyeworks/pis-wyehome-frontend.git","svn_url":"https://github.com/wyeworks/pis-wyehome-frontend","homepage":null,"size":6895,"stargazers_count":5,"watchers_count":5,"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":7,"license":null,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72"},"html":{"href":"https://github.com/wyeworks/pis-wyehome-frontend/pull/72"},"issue":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/72"},"comments":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/wyeworks/pis-wyehome-frontend/statuses/b02ad995f58abbdbb09d98644248d1d8a1d6e64e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"manuel-saravia"}}