{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/mozilla/treestatus/pulls/58","id":38048811,"html_url":"https://github.com/mozilla/treestatus/pull/58","diff_url":"https://github.com/mozilla/treestatus/pull/58.diff","patch_url":"https://github.com/mozilla/treestatus/pull/58.patch","issue_url":"https://api.github.com/repos/mozilla/treestatus/issues/58","number":58,"state":"open","locked":false,"title":"Bug 823628 - Followup to only show the revert column/buttons when the user is authorized to change tree state r=me","user":{"login":"KWierso","id":172215,"avatar_url":"https://avatars.githubusercontent.com/u/172215?v=3","gravatar_id":"","url":"https://api.github.com/users/KWierso","html_url":"https://github.com/KWierso","followers_url":"https://api.github.com/users/KWierso/followers","following_url":"https://api.github.com/users/KWierso/following{/other_user}","gists_url":"https://api.github.com/users/KWierso/gists{/gist_id}","starred_url":"https://api.github.com/users/KWierso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWierso/subscriptions","organizations_url":"https://api.github.com/users/KWierso/orgs","repos_url":"https://api.github.com/users/KWierso/repos","events_url":"https://api.github.com/users/KWierso/events{/privacy}","received_events_url":"https://api.github.com/users/KWierso/received_events","type":"User","site_admin":false},"body":"The revert buttons were still being shown when I was signed out and the new state form wasn't shown. this hides the buttons in that case.","created_at":"2015-06-18T20:24:52Z","updated_at":"2015-06-18T20:24:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/treestatus/pulls/58/commits","review_comments_url":"https://api.github.com/repos/mozilla/treestatus/pulls/58/comments","review_comment_url":"https://api.github.com/repos/mozilla/treestatus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/treestatus/issues/58/comments","statuses_url":"https://api.github.com/repos/mozilla/treestatus/statuses/d19f7f8a4ba826c3f95f59948804de747bc65703","head":{"label":"KWierso:onlyrevertauthorized","ref":"onlyrevertauthorized","sha":"d19f7f8a4ba826c3f95f59948804de747bc65703","user":{"login":"KWierso","id":172215,"avatar_url":"https://avatars.githubusercontent.com/u/172215?v=3","gravatar_id":"","url":"https://api.github.com/users/KWierso","html_url":"https://github.com/KWierso","followers_url":"https://api.github.com/users/KWierso/followers","following_url":"https://api.github.com/users/KWierso/following{/other_user}","gists_url":"https://api.github.com/users/KWierso/gists{/gist_id}","starred_url":"https://api.github.com/users/KWierso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWierso/subscriptions","organizations_url":"https://api.github.com/users/KWierso/orgs","repos_url":"https://api.github.com/users/KWierso/repos","events_url":"https://api.github.com/users/KWierso/events{/privacy}","received_events_url":"https://api.github.com/users/KWierso/received_events","type":"User","site_admin":false},"repo":{"id":17494504,"name":"treestatus","full_name":"KWierso/treestatus","owner":{"login":"KWierso","id":172215,"avatar_url":"https://avatars.githubusercontent.com/u/172215?v=3","gravatar_id":"","url":"https://api.github.com/users/KWierso","html_url":"https://github.com/KWierso","followers_url":"https://api.github.com/users/KWierso/followers","following_url":"https://api.github.com/users/KWierso/following{/other_user}","gists_url":"https://api.github.com/users/KWierso/gists{/gist_id}","starred_url":"https://api.github.com/users/KWierso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWierso/subscriptions","organizations_url":"https://api.github.com/users/KWierso/orgs","repos_url":"https://api.github.com/users/KWierso/repos","events_url":"https://api.github.com/users/KWierso/events{/privacy}","received_events_url":"https://api.github.com/users/KWierso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KWierso/treestatus","description":"","fork":true,"url":"https://api.github.com/repos/KWierso/treestatus","forks_url":"https://api.github.com/repos/KWierso/treestatus/forks","keys_url":"https://api.github.com/repos/KWierso/treestatus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KWierso/treestatus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KWierso/treestatus/teams","hooks_url":"https://api.github.com/repos/KWierso/treestatus/hooks","issue_events_url":"https://api.github.com/repos/KWierso/treestatus/issues/events{/number}","events_url":"https://api.github.com/repos/KWierso/treestatus/events","assignees_url":"https://api.github.com/repos/KWierso/treestatus/assignees{/user}","branches_url":"https://api.github.com/repos/KWierso/treestatus/branches{/branch}","tags_url":"https://api.github.com/repos/KWierso/treestatus/tags","blobs_url":"https://api.github.com/repos/KWierso/treestatus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KWierso/treestatus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KWierso/treestatus/git/refs{/sha}","trees_url":"https://api.github.com/repos/KWierso/treestatus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KWierso/treestatus/statuses/{sha}","languages_url":"https://api.github.com/repos/KWierso/treestatus/languages","stargazers_url":"https://api.github.com/repos/KWierso/treestatus/stargazers","contributors_url":"https://api.github.com/repos/KWierso/treestatus/contributors","subscribers_url":"https://api.github.com/repos/KWierso/treestatus/subscribers","subscription_url":"https://api.github.com/repos/KWierso/treestatus/subscription","commits_url":"https://api.github.com/repos/KWierso/treestatus/commits{/sha}","git_commits_url":"https://api.github.com/repos/KWierso/treestatus/git/commits{/sha}","comments_url":"https://api.github.com/repos/KWierso/treestatus/comments{/number}","issue_comment_url":"https://api.github.com/repos/KWierso/treestatus/issues/comments{/number}","contents_url":"https://api.github.com/repos/KWierso/treestatus/contents/{+path}","compare_url":"https://api.github.com/repos/KWierso/treestatus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KWierso/treestatus/merges","archive_url":"https://api.github.com/repos/KWierso/treestatus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KWierso/treestatus/downloads","issues_url":"https://api.github.com/repos/KWierso/treestatus/issues{/number}","pulls_url":"https://api.github.com/repos/KWierso/treestatus/pulls{/number}","milestones_url":"https://api.github.com/repos/KWierso/treestatus/milestones{/number}","notifications_url":"https://api.github.com/repos/KWierso/treestatus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KWierso/treestatus/labels{/name}","releases_url":"https://api.github.com/repos/KWierso/treestatus/releases{/id}","created_at":"2014-03-06T22:11:57Z","updated_at":"2015-05-27T19:40:13Z","pushed_at":"2015-06-18T20:23:44Z","git_url":"git://github.com/KWierso/treestatus.git","ssh_url":"git@github.com:KWierso/treestatus.git","clone_url":"https://github.com/KWierso/treestatus.git","svn_url":"https://github.com/KWierso/treestatus","homepage":"","size":279,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"ce1a05dff6d230e973bf015a68e6b6102351e5a0","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1867058,"name":"treestatus","full_name":"mozilla/treestatus","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/treestatus","description":"A Flask app to maintain the open/closed state of development repositories, used by closure hooks and status dashboards.","fork":false,"url":"https://api.github.com/repos/mozilla/treestatus","forks_url":"https://api.github.com/repos/mozilla/treestatus/forks","keys_url":"https://api.github.com/repos/mozilla/treestatus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/treestatus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/treestatus/teams","hooks_url":"https://api.github.com/repos/mozilla/treestatus/hooks","issue_events_url":"https://api.github.com/repos/mozilla/treestatus/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/treestatus/events","assignees_url":"https://api.github.com/repos/mozilla/treestatus/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/treestatus/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/treestatus/tags","blobs_url":"https://api.github.com/repos/mozilla/treestatus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/treestatus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/treestatus/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/treestatus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/treestatus/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/treestatus/languages","stargazers_url":"https://api.github.com/repos/mozilla/treestatus/stargazers","contributors_url":"https://api.github.com/repos/mozilla/treestatus/contributors","subscribers_url":"https://api.github.com/repos/mozilla/treestatus/subscribers","subscription_url":"https://api.github.com/repos/mozilla/treestatus/subscription","commits_url":"https://api.github.com/repos/mozilla/treestatus/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/treestatus/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/treestatus/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/treestatus/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/treestatus/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/treestatus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/treestatus/merges","archive_url":"https://api.github.com/repos/mozilla/treestatus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/treestatus/downloads","issues_url":"https://api.github.com/repos/mozilla/treestatus/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/treestatus/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/treestatus/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/treestatus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/treestatus/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/treestatus/releases{/id}","created_at":"2011-06-08T19:01:13Z","updated_at":"2014-11-26T21:47:07Z","pushed_at":"2015-06-18T20:10:59Z","git_url":"git://github.com/mozilla/treestatus.git","ssh_url":"git@github.com:mozilla/treestatus.git","clone_url":"https://github.com/mozilla/treestatus.git","svn_url":"https://github.com/mozilla/treestatus","homepage":"https://treestatus.mozilla.org","size":440,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":4,"forks":12,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/treestatus/pulls/58"},"html":{"href":"https://github.com/mozilla/treestatus/pull/58"},"issue":{"href":"https://api.github.com/repos/mozilla/treestatus/issues/58"},"comments":{"href":"https://api.github.com/repos/mozilla/treestatus/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/treestatus/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/treestatus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/treestatus/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/treestatus/statuses/d19f7f8a4ba826c3f95f59948804de747bc65703"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}