{"action":"created","comment":{"url":"https://api.github.com/repos/ElemeFE/crayfish/pulls/comments/88383356","pull_request_review_id":8957814,"id":88383356,"diff_hunk":"@@ -46,13 +46,24 @@ make dev\n \n ### 2. 数据列表\n \n-进入项目后大概能看到这个界面：\n+进入项目后可以看到如下图的界面（初次使用请先阅读[创建项目](#2.%20%E5%88%9B%E5%BB%BA%E9%A1%B9%E7%9B%AE)）：\n \n <img src=\"../image/screen.png\" width=\"1079\" height=\"683\" />\n \n 中间这个最大的表格就是这个项目所有配置数据的列表了。\n \n-这个数据列表的操作权限是根据用户角色区分的。\n+这个数据列表的操作权限是根据设定的 `permissions` 区分的，`backend/users.js` 可供参考。\n+\n+一共四种权限：\n+\n+| Permission | Description    |\n+| ---------- | -------------- | \n+| EDIT       | 允许编辑项      | \n+| CHANGE     | 允许创建、删除项 |\n+| PUBLISH    | 允许发布到CDN   |","path":"manual/README.md","position":20,"original_position":20,"commit_id":"ff1a3134af7d1efa27dc4536a5dadb386a3dac3e","original_commit_id":"ff1a3134af7d1efa27dc4536a5dadb386a3dac3e","user":{"login":"YanagiEiichi","id":5585835,"avatar_url":"https://avatars.githubusercontent.com/u/5585835?v=3","gravatar_id":"","url":"https://api.github.com/users/YanagiEiichi","html_url":"https://github.com/YanagiEiichi","followers_url":"https://api.github.com/users/YanagiEiichi/followers","following_url":"https://api.github.com/users/YanagiEiichi/following{/other_user}","gists_url":"https://api.github.com/users/YanagiEiichi/gists{/gist_id}","starred_url":"https://api.github.com/users/YanagiEiichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YanagiEiichi/subscriptions","organizations_url":"https://api.github.com/users/YanagiEiichi/orgs","repos_url":"https://api.github.com/users/YanagiEiichi/repos","events_url":"https://api.github.com/users/YanagiEiichi/events{/privacy}","received_events_url":"https://api.github.com/users/YanagiEiichi/received_events","type":"User","site_admin":false},"body":"中英文中间加空格，另外这个开源的版本有 CDN 么？ @yhaoao ","created_at":"2016-11-17T04:06:18Z","updated_at":"2016-11-17T04:07:30Z","html_url":"https://github.com/ElemeFE/crayfish/pull/4#discussion_r88383356","pull_request_url":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ElemeFE/crayfish/pulls/comments/88383356"},"html":{"href":"https://github.com/ElemeFE/crayfish/pull/4#discussion_r88383356"},"pull_request":{"href":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4","id":94098344,"html_url":"https://github.com/ElemeFE/crayfish/pull/4","diff_url":"https://github.com/ElemeFE/crayfish/pull/4.diff","patch_url":"https://github.com/ElemeFE/crayfish/pull/4.patch","issue_url":"https://api.github.com/repos/ElemeFE/crayfish/issues/4","number":4,"state":"open","locked":false,"title":"Update: permission table & fix error","user":{"login":"csvwolf","id":8280645,"avatar_url":"https://avatars.githubusercontent.com/u/8280645?v=3","gravatar_id":"","url":"https://api.github.com/users/csvwolf","html_url":"https://github.com/csvwolf","followers_url":"https://api.github.com/users/csvwolf/followers","following_url":"https://api.github.com/users/csvwolf/following{/other_user}","gists_url":"https://api.github.com/users/csvwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/csvwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csvwolf/subscriptions","organizations_url":"https://api.github.com/users/csvwolf/orgs","repos_url":"https://api.github.com/users/csvwolf/repos","events_url":"https://api.github.com/users/csvwolf/events{/privacy}","received_events_url":"https://api.github.com/users/csvwolf/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-17T03:57:24Z","updated_at":"2016-11-17T04:07:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cbf15160a68c3238b417ef59363b6121fb72b3c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ElemeFE/crayfish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ElemeFE/crayfish/issues/4/comments","statuses_url":"https://api.github.com/repos/ElemeFE/crayfish/statuses/ff1a3134af7d1efa27dc4536a5dadb386a3dac3e","head":{"label":"csvwolf:gh-pages","ref":"gh-pages","sha":"ff1a3134af7d1efa27dc4536a5dadb386a3dac3e","user":{"login":"csvwolf","id":8280645,"avatar_url":"https://avatars.githubusercontent.com/u/8280645?v=3","gravatar_id":"","url":"https://api.github.com/users/csvwolf","html_url":"https://github.com/csvwolf","followers_url":"https://api.github.com/users/csvwolf/followers","following_url":"https://api.github.com/users/csvwolf/following{/other_user}","gists_url":"https://api.github.com/users/csvwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/csvwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csvwolf/subscriptions","organizations_url":"https://api.github.com/users/csvwolf/orgs","repos_url":"https://api.github.com/users/csvwolf/repos","events_url":"https://api.github.com/users/csvwolf/events{/privacy}","received_events_url":"https://api.github.com/users/csvwolf/received_events","type":"User","site_admin":false},"repo":{"id":73793463,"name":"crayfish","full_name":"csvwolf/crayfish","owner":{"login":"csvwolf","id":8280645,"avatar_url":"https://avatars.githubusercontent.com/u/8280645?v=3","gravatar_id":"","url":"https://api.github.com/users/csvwolf","html_url":"https://github.com/csvwolf","followers_url":"https://api.github.com/users/csvwolf/followers","following_url":"https://api.github.com/users/csvwolf/following{/other_user}","gists_url":"https://api.github.com/users/csvwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/csvwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csvwolf/subscriptions","organizations_url":"https://api.github.com/users/csvwolf/orgs","repos_url":"https://api.github.com/users/csvwolf/repos","events_url":"https://api.github.com/users/csvwolf/events{/privacy}","received_events_url":"https://api.github.com/users/csvwolf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/csvwolf/crayfish","description":"基于 CDN 的配置管理系统","fork":true,"url":"https://api.github.com/repos/csvwolf/crayfish","forks_url":"https://api.github.com/repos/csvwolf/crayfish/forks","keys_url":"https://api.github.com/repos/csvwolf/crayfish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/csvwolf/crayfish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/csvwolf/crayfish/teams","hooks_url":"https://api.github.com/repos/csvwolf/crayfish/hooks","issue_events_url":"https://api.github.com/repos/csvwolf/crayfish/issues/events{/number}","events_url":"https://api.github.com/repos/csvwolf/crayfish/events","assignees_url":"https://api.github.com/repos/csvwolf/crayfish/assignees{/user}","branches_url":"https://api.github.com/repos/csvwolf/crayfish/branches{/branch}","tags_url":"https://api.github.com/repos/csvwolf/crayfish/tags","blobs_url":"https://api.github.com/repos/csvwolf/crayfish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/csvwolf/crayfish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/csvwolf/crayfish/git/refs{/sha}","trees_url":"https://api.github.com/repos/csvwolf/crayfish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/csvwolf/crayfish/statuses/{sha}","languages_url":"https://api.github.com/repos/csvwolf/crayfish/languages","stargazers_url":"https://api.github.com/repos/csvwolf/crayfish/stargazers","contributors_url":"https://api.github.com/repos/csvwolf/crayfish/contributors","subscribers_url":"https://api.github.com/repos/csvwolf/crayfish/subscribers","subscription_url":"https://api.github.com/repos/csvwolf/crayfish/subscription","commits_url":"https://api.github.com/repos/csvwolf/crayfish/commits{/sha}","git_commits_url":"https://api.github.com/repos/csvwolf/crayfish/git/commits{/sha}","comments_url":"https://api.github.com/repos/csvwolf/crayfish/comments{/number}","issue_comment_url":"https://api.github.com/repos/csvwolf/crayfish/issues/comments{/number}","contents_url":"https://api.github.com/repos/csvwolf/crayfish/contents/{+path}","compare_url":"https://api.github.com/repos/csvwolf/crayfish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/csvwolf/crayfish/merges","archive_url":"https://api.github.com/repos/csvwolf/crayfish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/csvwolf/crayfish/downloads","issues_url":"https://api.github.com/repos/csvwolf/crayfish/issues{/number}","pulls_url":"https://api.github.com/repos/csvwolf/crayfish/pulls{/number}","milestones_url":"https://api.github.com/repos/csvwolf/crayfish/milestones{/number}","notifications_url":"https://api.github.com/repos/csvwolf/crayfish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/csvwolf/crayfish/labels{/name}","releases_url":"https://api.github.com/repos/csvwolf/crayfish/releases{/id}","deployments_url":"https://api.github.com/repos/csvwolf/crayfish/deployments","created_at":"2016-11-15T08:37:54Z","updated_at":"2016-11-15T08:37:55Z","pushed_at":"2016-11-17T03:57:19Z","git_url":"git://github.com/csvwolf/crayfish.git","ssh_url":"git@github.com:csvwolf/crayfish.git","clone_url":"https://github.com/csvwolf/crayfish.git","svn_url":"https://github.com/csvwolf/crayfish","homepage":"https://elemefe.github.io/crayfish/","size":211,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ElemeFE:gh-pages","ref":"gh-pages","sha":"a2e96d9fd317010451a20792d81dc77f974503b2","user":{"login":"ElemeFE","id":12810740,"avatar_url":"https://avatars.githubusercontent.com/u/12810740?v=3","gravatar_id":"","url":"https://api.github.com/users/ElemeFE","html_url":"https://github.com/ElemeFE","followers_url":"https://api.github.com/users/ElemeFE/followers","following_url":"https://api.github.com/users/ElemeFE/following{/other_user}","gists_url":"https://api.github.com/users/ElemeFE/gists{/gist_id}","starred_url":"https://api.github.com/users/ElemeFE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElemeFE/subscriptions","organizations_url":"https://api.github.com/users/ElemeFE/orgs","repos_url":"https://api.github.com/users/ElemeFE/repos","events_url":"https://api.github.com/users/ElemeFE/events{/privacy}","received_events_url":"https://api.github.com/users/ElemeFE/received_events","type":"Organization","site_admin":false},"repo":{"id":72107520,"name":"crayfish","full_name":"ElemeFE/crayfish","owner":{"login":"ElemeFE","id":12810740,"avatar_url":"https://avatars.githubusercontent.com/u/12810740?v=3","gravatar_id":"","url":"https://api.github.com/users/ElemeFE","html_url":"https://github.com/ElemeFE","followers_url":"https://api.github.com/users/ElemeFE/followers","following_url":"https://api.github.com/users/ElemeFE/following{/other_user}","gists_url":"https://api.github.com/users/ElemeFE/gists{/gist_id}","starred_url":"https://api.github.com/users/ElemeFE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElemeFE/subscriptions","organizations_url":"https://api.github.com/users/ElemeFE/orgs","repos_url":"https://api.github.com/users/ElemeFE/repos","events_url":"https://api.github.com/users/ElemeFE/events{/privacy}","received_events_url":"https://api.github.com/users/ElemeFE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ElemeFE/crayfish","description":"基于 CDN 的配置管理系统","fork":false,"url":"https://api.github.com/repos/ElemeFE/crayfish","forks_url":"https://api.github.com/repos/ElemeFE/crayfish/forks","keys_url":"https://api.github.com/repos/ElemeFE/crayfish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ElemeFE/crayfish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ElemeFE/crayfish/teams","hooks_url":"https://api.github.com/repos/ElemeFE/crayfish/hooks","issue_events_url":"https://api.github.com/repos/ElemeFE/crayfish/issues/events{/number}","events_url":"https://api.github.com/repos/ElemeFE/crayfish/events","assignees_url":"https://api.github.com/repos/ElemeFE/crayfish/assignees{/user}","branches_url":"https://api.github.com/repos/ElemeFE/crayfish/branches{/branch}","tags_url":"https://api.github.com/repos/ElemeFE/crayfish/tags","blobs_url":"https://api.github.com/repos/ElemeFE/crayfish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ElemeFE/crayfish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ElemeFE/crayfish/git/refs{/sha}","trees_url":"https://api.github.com/repos/ElemeFE/crayfish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ElemeFE/crayfish/statuses/{sha}","languages_url":"https://api.github.com/repos/ElemeFE/crayfish/languages","stargazers_url":"https://api.github.com/repos/ElemeFE/crayfish/stargazers","contributors_url":"https://api.github.com/repos/ElemeFE/crayfish/contributors","subscribers_url":"https://api.github.com/repos/ElemeFE/crayfish/subscribers","subscription_url":"https://api.github.com/repos/ElemeFE/crayfish/subscription","commits_url":"https://api.github.com/repos/ElemeFE/crayfish/commits{/sha}","git_commits_url":"https://api.github.com/repos/ElemeFE/crayfish/git/commits{/sha}","comments_url":"https://api.github.com/repos/ElemeFE/crayfish/comments{/number}","issue_comment_url":"https://api.github.com/repos/ElemeFE/crayfish/issues/comments{/number}","contents_url":"https://api.github.com/repos/ElemeFE/crayfish/contents/{+path}","compare_url":"https://api.github.com/repos/ElemeFE/crayfish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ElemeFE/crayfish/merges","archive_url":"https://api.github.com/repos/ElemeFE/crayfish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ElemeFE/crayfish/downloads","issues_url":"https://api.github.com/repos/ElemeFE/crayfish/issues{/number}","pulls_url":"https://api.github.com/repos/ElemeFE/crayfish/pulls{/number}","milestones_url":"https://api.github.com/repos/ElemeFE/crayfish/milestones{/number}","notifications_url":"https://api.github.com/repos/ElemeFE/crayfish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ElemeFE/crayfish/labels{/name}","releases_url":"https://api.github.com/repos/ElemeFE/crayfish/releases{/id}","deployments_url":"https://api.github.com/repos/ElemeFE/crayfish/deployments","created_at":"2016-10-27T12:47:50Z","updated_at":"2016-11-15T09:33:40Z","pushed_at":"2016-11-17T03:57:24Z","git_url":"git://github.com/ElemeFE/crayfish.git","ssh_url":"git@github.com:ElemeFE/crayfish.git","clone_url":"https://github.com/ElemeFE/crayfish.git","svn_url":"https://github.com/ElemeFE/crayfish","homepage":"https://elemefe.github.io/crayfish/","size":212,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4"},"html":{"href":"https://github.com/ElemeFE/crayfish/pull/4"},"issue":{"href":"https://api.github.com/repos/ElemeFE/crayfish/issues/4"},"comments":{"href":"https://api.github.com/repos/ElemeFE/crayfish/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ElemeFE/crayfish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ElemeFE/crayfish/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ElemeFE/crayfish/statuses/ff1a3134af7d1efa27dc4536a5dadb386a3dac3e"}}}}
{"actor":{"display_login":"YanagiEiichi"}}