{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/underrun/gitlab-shell/pulls/1","id":42035195,"html_url":"https://github.com/underrun/gitlab-shell/pull/1","diff_url":"https://github.com/underrun/gitlab-shell/pull/1.diff","patch_url":"https://github.com/underrun/gitlab-shell/pull/1.patch","issue_url":"https://api.github.com/repos/underrun/gitlab-shell/issues/1","number":1,"state":"closed","locked":false,"title":"make sure users running hook is gitlab user","user":{"login":"underrun","id":583919,"avatar_url":"https://avatars.githubusercontent.com/u/583919?v=3","gravatar_id":"","url":"https://api.github.com/users/underrun","html_url":"https://github.com/underrun","followers_url":"https://api.github.com/users/underrun/followers","following_url":"https://api.github.com/users/underrun/following{/other_user}","gists_url":"https://api.github.com/users/underrun/gists{/gist_id}","starred_url":"https://api.github.com/users/underrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underrun/subscriptions","organizations_url":"https://api.github.com/users/underrun/orgs","repos_url":"https://api.github.com/users/underrun/repos","events_url":"https://api.github.com/users/underrun/events{/privacy}","received_events_url":"https://api.github.com/users/underrun/received_events","type":"User","site_admin":false},"body":"In order to not break systems / use cases where more than the gitlab user should have valid access to operate on the repos, enable alternate users to skip the access check. In these cases, system acl and file system permissions govern access rather than gitlab.","created_at":"2015-08-10T15:52:49Z","updated_at":"2015-08-10T15:53:37Z","closed_at":"2015-08-10T15:53:37Z","merged_at":"2015-08-10T15:53:37Z","merge_commit_sha":"32168c246a965c8d132d98cf0820fdbf235df63f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/underrun/gitlab-shell/pulls/1/commits","review_comments_url":"https://api.github.com/repos/underrun/gitlab-shell/pulls/1/comments","review_comment_url":"https://api.github.com/repos/underrun/gitlab-shell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/underrun/gitlab-shell/issues/1/comments","statuses_url":"https://api.github.com/repos/underrun/gitlab-shell/statuses/5045f670995c4bf37b75b9b922806843ac0a9044","head":{"label":"underrun:fix-alternate-system-user-access","ref":"fix-alternate-system-user-access","sha":"5045f670995c4bf37b75b9b922806843ac0a9044","user":{"login":"underrun","id":583919,"avatar_url":"https://avatars.githubusercontent.com/u/583919?v=3","gravatar_id":"","url":"https://api.github.com/users/underrun","html_url":"https://github.com/underrun","followers_url":"https://api.github.com/users/underrun/followers","following_url":"https://api.github.com/users/underrun/following{/other_user}","gists_url":"https://api.github.com/users/underrun/gists{/gist_id}","starred_url":"https://api.github.com/users/underrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underrun/subscriptions","organizations_url":"https://api.github.com/users/underrun/orgs","repos_url":"https://api.github.com/users/underrun/repos","events_url":"https://api.github.com/users/underrun/events{/privacy}","received_events_url":"https://api.github.com/users/underrun/received_events","type":"User","site_admin":false},"repo":{"id":40415336,"name":"gitlab-shell","full_name":"underrun/gitlab-shell","owner":{"login":"underrun","id":583919,"avatar_url":"https://avatars.githubusercontent.com/u/583919?v=3","gravatar_id":"","url":"https://api.github.com/users/underrun","html_url":"https://github.com/underrun","followers_url":"https://api.github.com/users/underrun/followers","following_url":"https://api.github.com/users/underrun/following{/other_user}","gists_url":"https://api.github.com/users/underrun/gists{/gist_id}","starred_url":"https://api.github.com/users/underrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underrun/subscriptions","organizations_url":"https://api.github.com/users/underrun/orgs","repos_url":"https://api.github.com/users/underrun/repos","events_url":"https://api.github.com/users/underrun/events{/privacy}","received_events_url":"https://api.github.com/users/underrun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/underrun/gitlab-shell","description":"Replacement for gitolite","fork":true,"url":"https://api.github.com/repos/underrun/gitlab-shell","forks_url":"https://api.github.com/repos/underrun/gitlab-shell/forks","keys_url":"https://api.github.com/repos/underrun/gitlab-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/underrun/gitlab-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/underrun/gitlab-shell/teams","hooks_url":"https://api.github.com/repos/underrun/gitlab-shell/hooks","issue_events_url":"https://api.github.com/repos/underrun/gitlab-shell/issues/events{/number}","events_url":"https://api.github.com/repos/underrun/gitlab-shell/events","assignees_url":"https://api.github.com/repos/underrun/gitlab-shell/assignees{/user}","branches_url":"https://api.github.com/repos/underrun/gitlab-shell/branches{/branch}","tags_url":"https://api.github.com/repos/underrun/gitlab-shell/tags","blobs_url":"https://api.github.com/repos/underrun/gitlab-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/underrun/gitlab-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/underrun/gitlab-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/underrun/gitlab-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/underrun/gitlab-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/underrun/gitlab-shell/languages","stargazers_url":"https://api.github.com/repos/underrun/gitlab-shell/stargazers","contributors_url":"https://api.github.com/repos/underrun/gitlab-shell/contributors","subscribers_url":"https://api.github.com/repos/underrun/gitlab-shell/subscribers","subscription_url":"https://api.github.com/repos/underrun/gitlab-shell/subscription","commits_url":"https://api.github.com/repos/underrun/gitlab-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/underrun/gitlab-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/underrun/gitlab-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/underrun/gitlab-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/underrun/gitlab-shell/contents/{+path}","compare_url":"https://api.github.com/repos/underrun/gitlab-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/underrun/gitlab-shell/merges","archive_url":"https://api.github.com/repos/underrun/gitlab-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/underrun/gitlab-shell/downloads","issues_url":"https://api.github.com/repos/underrun/gitlab-shell/issues{/number}","pulls_url":"https://api.github.com/repos/underrun/gitlab-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/underrun/gitlab-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/underrun/gitlab-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/underrun/gitlab-shell/labels{/name}","releases_url":"https://api.github.com/repos/underrun/gitlab-shell/releases{/id}","created_at":"2015-08-08T20:16:58Z","updated_at":"2015-08-08T20:16:58Z","pushed_at":"2015-08-10T15:53:37Z","git_url":"git://github.com/underrun/gitlab-shell.git","ssh_url":"git@github.com:underrun/gitlab-shell.git","clone_url":"https://github.com/underrun/gitlab-shell.git","svn_url":"https://github.com/underrun/gitlab-shell","homepage":null,"size":2265,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"underrun:master","ref":"master","sha":"c31e6165016e4f12483b4c328a62493adac1bcac","user":{"login":"underrun","id":583919,"avatar_url":"https://avatars.githubusercontent.com/u/583919?v=3","gravatar_id":"","url":"https://api.github.com/users/underrun","html_url":"https://github.com/underrun","followers_url":"https://api.github.com/users/underrun/followers","following_url":"https://api.github.com/users/underrun/following{/other_user}","gists_url":"https://api.github.com/users/underrun/gists{/gist_id}","starred_url":"https://api.github.com/users/underrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underrun/subscriptions","organizations_url":"https://api.github.com/users/underrun/orgs","repos_url":"https://api.github.com/users/underrun/repos","events_url":"https://api.github.com/users/underrun/events{/privacy}","received_events_url":"https://api.github.com/users/underrun/received_events","type":"User","site_admin":false},"repo":{"id":40415336,"name":"gitlab-shell","full_name":"underrun/gitlab-shell","owner":{"login":"underrun","id":583919,"avatar_url":"https://avatars.githubusercontent.com/u/583919?v=3","gravatar_id":"","url":"https://api.github.com/users/underrun","html_url":"https://github.com/underrun","followers_url":"https://api.github.com/users/underrun/followers","following_url":"https://api.github.com/users/underrun/following{/other_user}","gists_url":"https://api.github.com/users/underrun/gists{/gist_id}","starred_url":"https://api.github.com/users/underrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underrun/subscriptions","organizations_url":"https://api.github.com/users/underrun/orgs","repos_url":"https://api.github.com/users/underrun/repos","events_url":"https://api.github.com/users/underrun/events{/privacy}","received_events_url":"https://api.github.com/users/underrun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/underrun/gitlab-shell","description":"Replacement for gitolite","fork":true,"url":"https://api.github.com/repos/underrun/gitlab-shell","forks_url":"https://api.github.com/repos/underrun/gitlab-shell/forks","keys_url":"https://api.github.com/repos/underrun/gitlab-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/underrun/gitlab-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/underrun/gitlab-shell/teams","hooks_url":"https://api.github.com/repos/underrun/gitlab-shell/hooks","issue_events_url":"https://api.github.com/repos/underrun/gitlab-shell/issues/events{/number}","events_url":"https://api.github.com/repos/underrun/gitlab-shell/events","assignees_url":"https://api.github.com/repos/underrun/gitlab-shell/assignees{/user}","branches_url":"https://api.github.com/repos/underrun/gitlab-shell/branches{/branch}","tags_url":"https://api.github.com/repos/underrun/gitlab-shell/tags","blobs_url":"https://api.github.com/repos/underrun/gitlab-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/underrun/gitlab-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/underrun/gitlab-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/underrun/gitlab-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/underrun/gitlab-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/underrun/gitlab-shell/languages","stargazers_url":"https://api.github.com/repos/underrun/gitlab-shell/stargazers","contributors_url":"https://api.github.com/repos/underrun/gitlab-shell/contributors","subscribers_url":"https://api.github.com/repos/underrun/gitlab-shell/subscribers","subscription_url":"https://api.github.com/repos/underrun/gitlab-shell/subscription","commits_url":"https://api.github.com/repos/underrun/gitlab-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/underrun/gitlab-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/underrun/gitlab-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/underrun/gitlab-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/underrun/gitlab-shell/contents/{+path}","compare_url":"https://api.github.com/repos/underrun/gitlab-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/underrun/gitlab-shell/merges","archive_url":"https://api.github.com/repos/underrun/gitlab-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/underrun/gitlab-shell/downloads","issues_url":"https://api.github.com/repos/underrun/gitlab-shell/issues{/number}","pulls_url":"https://api.github.com/repos/underrun/gitlab-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/underrun/gitlab-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/underrun/gitlab-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/underrun/gitlab-shell/labels{/name}","releases_url":"https://api.github.com/repos/underrun/gitlab-shell/releases{/id}","created_at":"2015-08-08T20:16:58Z","updated_at":"2015-08-08T20:16:58Z","pushed_at":"2015-08-10T15:53:37Z","git_url":"git://github.com/underrun/gitlab-shell.git","ssh_url":"git@github.com:underrun/gitlab-shell.git","clone_url":"https://github.com/underrun/gitlab-shell.git","svn_url":"https://github.com/underrun/gitlab-shell","homepage":null,"size":2265,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/underrun/gitlab-shell/pulls/1"},"html":{"href":"https://github.com/underrun/gitlab-shell/pull/1"},"issue":{"href":"https://api.github.com/repos/underrun/gitlab-shell/issues/1"},"comments":{"href":"https://api.github.com/repos/underrun/gitlab-shell/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/underrun/gitlab-shell/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/underrun/gitlab-shell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/underrun/gitlab-shell/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/underrun/gitlab-shell/statuses/5045f670995c4bf37b75b9b922806843ac0a9044"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"underrun","id":583919,"avatar_url":"https://avatars.githubusercontent.com/u/583919?v=3","gravatar_id":"","url":"https://api.github.com/users/underrun","html_url":"https://github.com/underrun","followers_url":"https://api.github.com/users/underrun/followers","following_url":"https://api.github.com/users/underrun/following{/other_user}","gists_url":"https://api.github.com/users/underrun/gists{/gist_id}","starred_url":"https://api.github.com/users/underrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underrun/subscriptions","organizations_url":"https://api.github.com/users/underrun/orgs","repos_url":"https://api.github.com/users/underrun/repos","events_url":"https://api.github.com/users/underrun/events{/privacy}","received_events_url":"https://api.github.com/users/underrun/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}