{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ffn_2/pulls/comments/69067644","id":69067644,"diff_hunk":"@@ -40,14 +39,16 @@\n                 <td><?= h($comments->id) ?></td>\n                 <td><?= h($comments->body) ?></td>\n                 <td><?= h($comments->user_id) ?></td>\n-                <td><?= h($comments->news_id) ?></td>\n                 <td><?= h($comments->created) ?></td>\n                 <td><?= h($comments->modified) ?></td>\n                 <td class=\"actions\">\n                     <?= $this->Html->link(__('View'), ['controller' => 'Comments', 'action' => 'view', $comments->id]) ?>\n-                    <?php if ($this->request->session()->read('Auth.User.role') == 'admin'): ?>\n+                    <?php if (($this->request->session()->read('Auth.User.role') == 'admin') || ($this->request->session()->read('Auth.User.id') == $comments->user_id)): ?>","path":"app/src/Template/News/view.ctp","position":33,"original_position":33,"commit_id":"eff05a7bf1f777a0c9f11fc3e796ccf7d3874234","original_commit_id":"eff05a7bf1f777a0c9f11fc3e796ccf7d3874234","user":{"login":"tuandv2611","id":14971320,"avatar_url":"https://avatars.githubusercontent.com/u/14971320?v=3","gravatar_id":"","url":"https://api.github.com/users/tuandv2611","html_url":"https://github.com/tuandv2611","followers_url":"https://api.github.com/users/tuandv2611/followers","following_url":"https://api.github.com/users/tuandv2611/following{/other_user}","gists_url":"https://api.github.com/users/tuandv2611/gists{/gist_id}","starred_url":"https://api.github.com/users/tuandv2611/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuandv2611/subscriptions","organizations_url":"https://api.github.com/users/tuandv2611/orgs","repos_url":"https://api.github.com/users/tuandv2611/repos","events_url":"https://api.github.com/users/tuandv2611/events{/privacy}","received_events_url":"https://api.github.com/users/tuandv2611/received_events","type":"User","site_admin":false},"body":"Too long, format again","created_at":"2016-06-30T04:24:36Z","updated_at":"2016-06-30T04:24:36Z","html_url":"https://github.com/framgia/ffn_2/pull/7#discussion_r69067644","pull_request_url":"https://api.github.com/repos/framgia/ffn_2/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_2/pulls/comments/69067644"},"html":{"href":"https://github.com/framgia/ffn_2/pull/7#discussion_r69067644"},"pull_request":{"href":"https://api.github.com/repos/framgia/ffn_2/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ffn_2/pulls/7","id":75756018,"html_url":"https://github.com/framgia/ffn_2/pull/7","diff_url":"https://github.com/framgia/ffn_2/pull/7.diff","patch_url":"https://github.com/framgia/ffn_2/pull/7.patch","issue_url":"https://api.github.com/repos/framgia/ffn_2/issues/7","number":7,"state":"open","locked":false,"title":"65292_user_comment_on_news","user":{"login":"yasin-buet","id":15029067,"avatar_url":"https://avatars.githubusercontent.com/u/15029067?v=3","gravatar_id":"","url":"https://api.github.com/users/yasin-buet","html_url":"https://github.com/yasin-buet","followers_url":"https://api.github.com/users/yasin-buet/followers","following_url":"https://api.github.com/users/yasin-buet/following{/other_user}","gists_url":"https://api.github.com/users/yasin-buet/gists{/gist_id}","starred_url":"https://api.github.com/users/yasin-buet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasin-buet/subscriptions","organizations_url":"https://api.github.com/users/yasin-buet/orgs","repos_url":"https://api.github.com/users/yasin-buet/repos","events_url":"https://api.github.com/users/yasin-buet/events{/privacy}","received_events_url":"https://api.github.com/users/yasin-buet/received_events","type":"User","site_admin":false},"body":"![cc1](https://cloud.githubusercontent.com/assets/15029067/16476137/1f79f612-3ea6-11e6-9252-008eacf3f629.png)\r\n","created_at":"2016-06-30T03:43:24Z","updated_at":"2016-06-30T04:24:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5ae0516eb9c538a13a43327bd87c35099ee8e95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ffn_2/pulls/7/commits","review_comments_url":"https://api.github.com/repos/framgia/ffn_2/pulls/7/comments","review_comment_url":"https://api.github.com/repos/framgia/ffn_2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ffn_2/issues/7/comments","statuses_url":"https://api.github.com/repos/framgia/ffn_2/statuses/eff05a7bf1f777a0c9f11fc3e796ccf7d3874234","head":{"label":"yasin-buet:65292_user_comment_on_news","ref":"65292_user_comment_on_news","sha":"eff05a7bf1f777a0c9f11fc3e796ccf7d3874234","user":{"login":"yasin-buet","id":15029067,"avatar_url":"https://avatars.githubusercontent.com/u/15029067?v=3","gravatar_id":"","url":"https://api.github.com/users/yasin-buet","html_url":"https://github.com/yasin-buet","followers_url":"https://api.github.com/users/yasin-buet/followers","following_url":"https://api.github.com/users/yasin-buet/following{/other_user}","gists_url":"https://api.github.com/users/yasin-buet/gists{/gist_id}","starred_url":"https://api.github.com/users/yasin-buet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasin-buet/subscriptions","organizations_url":"https://api.github.com/users/yasin-buet/orgs","repos_url":"https://api.github.com/users/yasin-buet/repos","events_url":"https://api.github.com/users/yasin-buet/events{/privacy}","received_events_url":"https://api.github.com/users/yasin-buet/received_events","type":"User","site_admin":false},"repo":{"id":61002747,"name":"ffn_2","full_name":"yasin-buet/ffn_2","owner":{"login":"yasin-buet","id":15029067,"avatar_url":"https://avatars.githubusercontent.com/u/15029067?v=3","gravatar_id":"","url":"https://api.github.com/users/yasin-buet","html_url":"https://github.com/yasin-buet","followers_url":"https://api.github.com/users/yasin-buet/followers","following_url":"https://api.github.com/users/yasin-buet/following{/other_user}","gists_url":"https://api.github.com/users/yasin-buet/gists{/gist_id}","starred_url":"https://api.github.com/users/yasin-buet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasin-buet/subscriptions","organizations_url":"https://api.github.com/users/yasin-buet/orgs","repos_url":"https://api.github.com/users/yasin-buet/repos","events_url":"https://api.github.com/users/yasin-buet/events{/privacy}","received_events_url":"https://api.github.com/users/yasin-buet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yasin-buet/ffn_2","description":"Framgia Football News (training)","fork":true,"url":"https://api.github.com/repos/yasin-buet/ffn_2","forks_url":"https://api.github.com/repos/yasin-buet/ffn_2/forks","keys_url":"https://api.github.com/repos/yasin-buet/ffn_2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasin-buet/ffn_2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasin-buet/ffn_2/teams","hooks_url":"https://api.github.com/repos/yasin-buet/ffn_2/hooks","issue_events_url":"https://api.github.com/repos/yasin-buet/ffn_2/issues/events{/number}","events_url":"https://api.github.com/repos/yasin-buet/ffn_2/events","assignees_url":"https://api.github.com/repos/yasin-buet/ffn_2/assignees{/user}","branches_url":"https://api.github.com/repos/yasin-buet/ffn_2/branches{/branch}","tags_url":"https://api.github.com/repos/yasin-buet/ffn_2/tags","blobs_url":"https://api.github.com/repos/yasin-buet/ffn_2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasin-buet/ffn_2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasin-buet/ffn_2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasin-buet/ffn_2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasin-buet/ffn_2/statuses/{sha}","languages_url":"https://api.github.com/repos/yasin-buet/ffn_2/languages","stargazers_url":"https://api.github.com/repos/yasin-buet/ffn_2/stargazers","contributors_url":"https://api.github.com/repos/yasin-buet/ffn_2/contributors","subscribers_url":"https://api.github.com/repos/yasin-buet/ffn_2/subscribers","subscription_url":"https://api.github.com/repos/yasin-buet/ffn_2/subscription","commits_url":"https://api.github.com/repos/yasin-buet/ffn_2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasin-buet/ffn_2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasin-buet/ffn_2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasin-buet/ffn_2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasin-buet/ffn_2/contents/{+path}","compare_url":"https://api.github.com/repos/yasin-buet/ffn_2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasin-buet/ffn_2/merges","archive_url":"https://api.github.com/repos/yasin-buet/ffn_2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasin-buet/ffn_2/downloads","issues_url":"https://api.github.com/repos/yasin-buet/ffn_2/issues{/number}","pulls_url":"https://api.github.com/repos/yasin-buet/ffn_2/pulls{/number}","milestones_url":"https://api.github.com/repos/yasin-buet/ffn_2/milestones{/number}","notifications_url":"https://api.github.com/repos/yasin-buet/ffn_2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasin-buet/ffn_2/labels{/name}","releases_url":"https://api.github.com/repos/yasin-buet/ffn_2/releases{/id}","deployments_url":"https://api.github.com/repos/yasin-buet/ffn_2/deployments","created_at":"2016-06-13T02:56:25Z","updated_at":"2016-06-13T02:36:07Z","pushed_at":"2016-06-30T04:21:49Z","git_url":"git://github.com/yasin-buet/ffn_2.git","ssh_url":"git@github.com:yasin-buet/ffn_2.git","clone_url":"https://github.com/yasin-buet/ffn_2.git","svn_url":"https://github.com/yasin-buet/ffn_2","homepage":null,"size":94,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"0ee4cfc43b44b5719dabb19e67c9e4bc084ff2ef","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":61001686,"name":"ffn_2","full_name":"framgia/ffn_2","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/ffn_2","description":"Framgia Football News (training)","fork":false,"url":"https://api.github.com/repos/framgia/ffn_2","forks_url":"https://api.github.com/repos/framgia/ffn_2/forks","keys_url":"https://api.github.com/repos/framgia/ffn_2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ffn_2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ffn_2/teams","hooks_url":"https://api.github.com/repos/framgia/ffn_2/hooks","issue_events_url":"https://api.github.com/repos/framgia/ffn_2/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ffn_2/events","assignees_url":"https://api.github.com/repos/framgia/ffn_2/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ffn_2/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ffn_2/tags","blobs_url":"https://api.github.com/repos/framgia/ffn_2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ffn_2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ffn_2/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ffn_2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ffn_2/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ffn_2/languages","stargazers_url":"https://api.github.com/repos/framgia/ffn_2/stargazers","contributors_url":"https://api.github.com/repos/framgia/ffn_2/contributors","subscribers_url":"https://api.github.com/repos/framgia/ffn_2/subscribers","subscription_url":"https://api.github.com/repos/framgia/ffn_2/subscription","commits_url":"https://api.github.com/repos/framgia/ffn_2/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ffn_2/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ffn_2/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ffn_2/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ffn_2/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ffn_2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ffn_2/merges","archive_url":"https://api.github.com/repos/framgia/ffn_2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ffn_2/downloads","issues_url":"https://api.github.com/repos/framgia/ffn_2/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ffn_2/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ffn_2/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ffn_2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ffn_2/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ffn_2/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ffn_2/deployments","created_at":"2016-06-13T02:36:07Z","updated_at":"2016-06-13T02:36:07Z","pushed_at":"2016-06-30T04:21:49Z","git_url":"git://github.com/framgia/ffn_2.git","ssh_url":"git@github.com:framgia/ffn_2.git","clone_url":"https://github.com/framgia/ffn_2.git","svn_url":"https://github.com/framgia/ffn_2","homepage":null,"size":94,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_2/pulls/7"},"html":{"href":"https://github.com/framgia/ffn_2/pull/7"},"issue":{"href":"https://api.github.com/repos/framgia/ffn_2/issues/7"},"comments":{"href":"https://api.github.com/repos/framgia/ffn_2/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ffn_2/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ffn_2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ffn_2/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ffn_2/statuses/eff05a7bf1f777a0c9f11fc3e796ccf7d3874234"}}}}
{"actor":{"display_login":"tuandv2611"}}