{"action":"created","comment":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/36981813","id":36981813,"diff_hunk":"@@ -165,9 +165,9 @@ On the ACL file you looked at earlier, this `get_acl_access_data` method returns\n  \"ebronte\"=>[\"doc\"]}\n ----\n \n-Now that you have the permissions sorted out, you need to determine what paths the commits being pushed have modified, so you can make sure the user who's pushing has access to all of them.\n+既然拿到了用户权限的数据，接下来你需要找出提交都涉及了哪些路径，从而才能保证推送者对所有这些路径都有权限。","path":"book/08-customizing-git/sections/policy.asc","position":180,"original_position":180,"commit_id":"411833384d4e83db7e9bfc3b12156f7306ba5976","original_commit_id":"411833384d4e83db7e9bfc3b12156f7306ba5976","user":{"login":"M1seRy","id":10118666,"avatar_url":"https://avatars.githubusercontent.com/u/10118666?v=3","gravatar_id":"","url":"https://api.github.com/users/M1seRy","html_url":"https://github.com/M1seRy","followers_url":"https://api.github.com/users/M1seRy/followers","following_url":"https://api.github.com/users/M1seRy/following{/other_user}","gists_url":"https://api.github.com/users/M1seRy/gists{/gist_id}","starred_url":"https://api.github.com/users/M1seRy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M1seRy/subscriptions","organizations_url":"https://api.github.com/users/M1seRy/orgs","repos_url":"https://api.github.com/users/M1seRy/repos","events_url":"https://api.github.com/users/M1seRy/events{/privacy}","received_events_url":"https://api.github.com/users/M1seRy/received_events","type":"User","site_admin":false},"body":"+既然拿到了用户权限的数据，接下来你需要找出提交都修改了哪些路径。或者下面的：\r\n+既然拿到了用户权限的数据，接下来你需要找出哪些路径将要被提交的内容修改。\r\n到时我们再探讨一下吧！","created_at":"2015-08-13T14:41:36Z","updated_at":"2015-08-13T14:41:36Z","html_url":"https://github.com/progit/progit2-zh/pull/141#discussion_r36981813","pull_request_url":"https://api.github.com/repos/progit/progit2-zh/pulls/141","_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/36981813"},"html":{"href":"https://github.com/progit/progit2-zh/pull/141#discussion_r36981813"},"pull_request":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/141"}}},"pull_request":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/141","id":38240547,"html_url":"https://github.com/progit/progit2-zh/pull/141","diff_url":"https://github.com/progit/progit2-zh/pull/141.diff","patch_url":"https://github.com/progit/progit2-zh/pull/141.patch","issue_url":"https://api.github.com/repos/progit/progit2-zh/issues/141","number":141,"state":"open","locked":false,"title":"Translate 08-customizing-git policy","user":{"login":"spacewander","id":4161644,"avatar_url":"https://avatars.githubusercontent.com/u/4161644?v=3","gravatar_id":"","url":"https://api.github.com/users/spacewander","html_url":"https://github.com/spacewander","followers_url":"https://api.github.com/users/spacewander/followers","following_url":"https://api.github.com/users/spacewander/following{/other_user}","gists_url":"https://api.github.com/users/spacewander/gists{/gist_id}","starred_url":"https://api.github.com/users/spacewander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacewander/subscriptions","organizations_url":"https://api.github.com/users/spacewander/orgs","repos_url":"https://api.github.com/users/spacewander/repos","events_url":"https://api.github.com/users/spacewander/events{/privacy}","received_events_url":"https://api.github.com/users/spacewander/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-22T14:58:42Z","updated_at":"2015-08-13T14:41:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a4ac4c3cf8f225d5da351d9881719064a951173","assignee":null,"milestone":{"url":"https://api.github.com/repos/progit/progit2-zh/milestones/1","html_url":"https://github.com/progit/progit2-zh/milestones/v1.0.0","labels_url":"https://api.github.com/repos/progit/progit2-zh/milestones/1/labels","id":1231002,"number":1,"title":"v1.0.0","description":"所有内容翻译完成并经过审校后合并入主干分支。","creator":{"login":"networm","id":440624,"avatar_url":"https://avatars.githubusercontent.com/u/440624?v=3","gravatar_id":"","url":"https://api.github.com/users/networm","html_url":"https://github.com/networm","followers_url":"https://api.github.com/users/networm/followers","following_url":"https://api.github.com/users/networm/following{/other_user}","gists_url":"https://api.github.com/users/networm/gists{/gist_id}","starred_url":"https://api.github.com/users/networm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networm/subscriptions","organizations_url":"https://api.github.com/users/networm/orgs","repos_url":"https://api.github.com/users/networm/repos","events_url":"https://api.github.com/users/networm/events{/privacy}","received_events_url":"https://api.github.com/users/networm/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":34,"state":"open","created_at":"2015-07-29T06:50:16Z","updated_at":"2015-08-12T10:37:19Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/progit/progit2-zh/pulls/141/commits","review_comments_url":"https://api.github.com/repos/progit/progit2-zh/pulls/141/comments","review_comment_url":"https://api.github.com/repos/progit/progit2-zh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/progit/progit2-zh/issues/141/comments","statuses_url":"https://api.github.com/repos/progit/progit2-zh/statuses/411833384d4e83db7e9bfc3b12156f7306ba5976","head":{"label":"spacewander:08-policy","ref":"08-policy","sha":"411833384d4e83db7e9bfc3b12156f7306ba5976","user":{"login":"spacewander","id":4161644,"avatar_url":"https://avatars.githubusercontent.com/u/4161644?v=3","gravatar_id":"","url":"https://api.github.com/users/spacewander","html_url":"https://github.com/spacewander","followers_url":"https://api.github.com/users/spacewander/followers","following_url":"https://api.github.com/users/spacewander/following{/other_user}","gists_url":"https://api.github.com/users/spacewander/gists{/gist_id}","starred_url":"https://api.github.com/users/spacewander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacewander/subscriptions","organizations_url":"https://api.github.com/users/spacewander/orgs","repos_url":"https://api.github.com/users/spacewander/repos","events_url":"https://api.github.com/users/spacewander/events{/privacy}","received_events_url":"https://api.github.com/users/spacewander/received_events","type":"User","site_admin":false},"repo":{"id":37462097,"name":"progit2-zh","full_name":"spacewander/progit2-zh","owner":{"login":"spacewander","id":4161644,"avatar_url":"https://avatars.githubusercontent.com/u/4161644?v=3","gravatar_id":"","url":"https://api.github.com/users/spacewander","html_url":"https://github.com/spacewander","followers_url":"https://api.github.com/users/spacewander/followers","following_url":"https://api.github.com/users/spacewander/following{/other_user}","gists_url":"https://api.github.com/users/spacewander/gists{/gist_id}","starred_url":"https://api.github.com/users/spacewander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacewander/subscriptions","organizations_url":"https://api.github.com/users/spacewander/orgs","repos_url":"https://api.github.com/users/spacewander/repos","events_url":"https://api.github.com/users/spacewander/events{/privacy}","received_events_url":"https://api.github.com/users/spacewander/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spacewander/progit2-zh","description":"","fork":true,"url":"https://api.github.com/repos/spacewander/progit2-zh","forks_url":"https://api.github.com/repos/spacewander/progit2-zh/forks","keys_url":"https://api.github.com/repos/spacewander/progit2-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spacewander/progit2-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spacewander/progit2-zh/teams","hooks_url":"https://api.github.com/repos/spacewander/progit2-zh/hooks","issue_events_url":"https://api.github.com/repos/spacewander/progit2-zh/issues/events{/number}","events_url":"https://api.github.com/repos/spacewander/progit2-zh/events","assignees_url":"https://api.github.com/repos/spacewander/progit2-zh/assignees{/user}","branches_url":"https://api.github.com/repos/spacewander/progit2-zh/branches{/branch}","tags_url":"https://api.github.com/repos/spacewander/progit2-zh/tags","blobs_url":"https://api.github.com/repos/spacewander/progit2-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spacewander/progit2-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spacewander/progit2-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/spacewander/progit2-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spacewander/progit2-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/spacewander/progit2-zh/languages","stargazers_url":"https://api.github.com/repos/spacewander/progit2-zh/stargazers","contributors_url":"https://api.github.com/repos/spacewander/progit2-zh/contributors","subscribers_url":"https://api.github.com/repos/spacewander/progit2-zh/subscribers","subscription_url":"https://api.github.com/repos/spacewander/progit2-zh/subscription","commits_url":"https://api.github.com/repos/spacewander/progit2-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/spacewander/progit2-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/spacewander/progit2-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/spacewander/progit2-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/spacewander/progit2-zh/contents/{+path}","compare_url":"https://api.github.com/repos/spacewander/progit2-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spacewander/progit2-zh/merges","archive_url":"https://api.github.com/repos/spacewander/progit2-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spacewander/progit2-zh/downloads","issues_url":"https://api.github.com/repos/spacewander/progit2-zh/issues{/number}","pulls_url":"https://api.github.com/repos/spacewander/progit2-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/spacewander/progit2-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/spacewander/progit2-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spacewander/progit2-zh/labels{/name}","releases_url":"https://api.github.com/repos/spacewander/progit2-zh/releases{/id}","created_at":"2015-06-15T11:52:44Z","updated_at":"2015-06-15T11:52:45Z","pushed_at":"2015-08-13T07:16:41Z","git_url":"git://github.com/spacewander/progit2-zh.git","ssh_url":"git@github.com:spacewander/progit2-zh.git","clone_url":"https://github.com/spacewander/progit2-zh.git","svn_url":"https://github.com/spacewander/progit2-zh","homepage":null,"size":159676,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"progit:master","ref":"master","sha":"8834e9a0b525919e6764e8970ebf308aa5083c1f","user":{"login":"progit","id":95588,"avatar_url":"https://avatars.githubusercontent.com/u/95588?v=3","gravatar_id":"","url":"https://api.github.com/users/progit","html_url":"https://github.com/progit","followers_url":"https://api.github.com/users/progit/followers","following_url":"https://api.github.com/users/progit/following{/other_user}","gists_url":"https://api.github.com/users/progit/gists{/gist_id}","starred_url":"https://api.github.com/users/progit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progit/subscriptions","organizations_url":"https://api.github.com/users/progit/orgs","repos_url":"https://api.github.com/users/progit/repos","events_url":"https://api.github.com/users/progit/events{/privacy}","received_events_url":"https://api.github.com/users/progit/received_events","type":"Organization","site_admin":false},"repo":{"id":26017730,"name":"progit2-zh","full_name":"progit/progit2-zh","owner":{"login":"progit","id":95588,"avatar_url":"https://avatars.githubusercontent.com/u/95588?v=3","gravatar_id":"","url":"https://api.github.com/users/progit","html_url":"https://github.com/progit","followers_url":"https://api.github.com/users/progit/followers","following_url":"https://api.github.com/users/progit/following{/other_user}","gists_url":"https://api.github.com/users/progit/gists{/gist_id}","starred_url":"https://api.github.com/users/progit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progit/subscriptions","organizations_url":"https://api.github.com/users/progit/orgs","repos_url":"https://api.github.com/users/progit/repos","events_url":"https://api.github.com/users/progit/events{/privacy}","received_events_url":"https://api.github.com/users/progit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/progit/progit2-zh","description":"","fork":false,"url":"https://api.github.com/repos/progit/progit2-zh","forks_url":"https://api.github.com/repos/progit/progit2-zh/forks","keys_url":"https://api.github.com/repos/progit/progit2-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/progit/progit2-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/progit/progit2-zh/teams","hooks_url":"https://api.github.com/repos/progit/progit2-zh/hooks","issue_events_url":"https://api.github.com/repos/progit/progit2-zh/issues/events{/number}","events_url":"https://api.github.com/repos/progit/progit2-zh/events","assignees_url":"https://api.github.com/repos/progit/progit2-zh/assignees{/user}","branches_url":"https://api.github.com/repos/progit/progit2-zh/branches{/branch}","tags_url":"https://api.github.com/repos/progit/progit2-zh/tags","blobs_url":"https://api.github.com/repos/progit/progit2-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/progit/progit2-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/progit/progit2-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/progit/progit2-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/progit/progit2-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/progit/progit2-zh/languages","stargazers_url":"https://api.github.com/repos/progit/progit2-zh/stargazers","contributors_url":"https://api.github.com/repos/progit/progit2-zh/contributors","subscribers_url":"https://api.github.com/repos/progit/progit2-zh/subscribers","subscription_url":"https://api.github.com/repos/progit/progit2-zh/subscription","commits_url":"https://api.github.com/repos/progit/progit2-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/progit/progit2-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/progit/progit2-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/progit/progit2-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/progit/progit2-zh/contents/{+path}","compare_url":"https://api.github.com/repos/progit/progit2-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/progit/progit2-zh/merges","archive_url":"https://api.github.com/repos/progit/progit2-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/progit/progit2-zh/downloads","issues_url":"https://api.github.com/repos/progit/progit2-zh/issues{/number}","pulls_url":"https://api.github.com/repos/progit/progit2-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/progit/progit2-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/progit/progit2-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/progit/progit2-zh/labels{/name}","releases_url":"https://api.github.com/repos/progit/progit2-zh/releases{/id}","created_at":"2014-10-31T13:43:10Z","updated_at":"2015-08-13T06:00:04Z","pushed_at":"2015-08-13T11:15:30Z","git_url":"git://github.com/progit/progit2-zh.git","ssh_url":"git@github.com:progit/progit2-zh.git","clone_url":"https://github.com/progit/progit2-zh.git","svn_url":"https://github.com/progit/progit2-zh","homepage":null,"size":161934,"stargazers_count":303,"watchers_count":303,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":30,"forks":105,"open_issues":30,"watchers":303,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/141"},"html":{"href":"https://github.com/progit/progit2-zh/pull/141"},"issue":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/141"},"comments":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/progit/progit2-zh/statuses/411833384d4e83db7e9bfc3b12156f7306ba5976"}}}}