{"action":"created","comment":{"url":"https://api.github.com/repos/cocoonprojects/ora/pulls/comments/38508944","id":38508944,"diff_hunk":"@@ -81,6 +87,20 @@ public function create($data)\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tbreak;\n+\t\t\tcase \"add-estimation\":\n+\t\t\t\t$task = $this->taskService->findTask (  $data['taskId'] );\n+\t\t\t\tif (is_null ( $task )) {\n+\t\t\t\t\t$this->response->setStatusCode ( 404 );\n+\t\t\t\t\treturn $this->response;\n+\t\t\t\t}\n+\t\t\t\t\n+\t\t\t\tif (! $this->isAllowed ( $this->identity (), $task, 'TaskManagement.Task.sendReminder' )) {","path":"module/TaskManagement/src/TaskManagement/Controller/RemindersController.php","position":37,"original_position":37,"commit_id":"05dec248ba637d20906819399604d432f4067e7e","original_commit_id":"05dec248ba637d20906819399604d432f4067e7e","user":{"login":"AbdonSerianni","id":7962762,"avatar_url":"https://avatars.githubusercontent.com/u/7962762?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdonSerianni","html_url":"https://github.com/AbdonSerianni","followers_url":"https://api.github.com/users/AbdonSerianni/followers","following_url":"https://api.github.com/users/AbdonSerianni/following{/other_user}","gists_url":"https://api.github.com/users/AbdonSerianni/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdonSerianni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdonSerianni/subscriptions","organizations_url":"https://api.github.com/users/AbdonSerianni/orgs","repos_url":"https://api.github.com/users/AbdonSerianni/repos","events_url":"https://api.github.com/users/AbdonSerianni/events{/privacy}","received_events_url":"https://api.github.com/users/AbdonSerianni/received_events","type":"User","site_admin":false},"body":"La verifica dell'accesso utilizza l'oggetto *$task*, non posso quindi spostare la verifica dell'accesso prima dell'invocazione del metodo *findTask*.","created_at":"2015-09-02T08:30:01Z","updated_at":"2015-09-02T08:30:01Z","html_url":"https://github.com/cocoonprojects/ora/pull/62#discussion_r38508944","pull_request_url":"https://api.github.com/repos/cocoonprojects/ora/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/cocoonprojects/ora/pulls/comments/38508944"},"html":{"href":"https://github.com/cocoonprojects/ora/pull/62#discussion_r38508944"},"pull_request":{"href":"https://api.github.com/repos/cocoonprojects/ora/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/cocoonprojects/ora/pulls/62","id":43501587,"html_url":"https://github.com/cocoonprojects/ora/pull/62","diff_url":"https://github.com/cocoonprojects/ora/pull/62.diff","patch_url":"https://github.com/cocoonprojects/ora/pull/62.patch","issue_url":"https://api.github.com/repos/cocoonprojects/ora/issues/62","number":62,"state":"open","locked":false,"title":"Unical reminder","user":{"login":"AbdonSerianni","id":7962762,"avatar_url":"https://avatars.githubusercontent.com/u/7962762?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdonSerianni","html_url":"https://github.com/AbdonSerianni","followers_url":"https://api.github.com/users/AbdonSerianni/followers","following_url":"https://api.github.com/users/AbdonSerianni/following{/other_user}","gists_url":"https://api.github.com/users/AbdonSerianni/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdonSerianni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdonSerianni/subscriptions","organizations_url":"https://api.github.com/users/AbdonSerianni/orgs","repos_url":"https://api.github.com/users/AbdonSerianni/repos","events_url":"https://api.github.com/users/AbdonSerianni/events{/privacy}","received_events_url":"https://api.github.com/users/AbdonSerianni/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-27T10:30:31Z","updated_at":"2015-09-02T08:30:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"344118c1602cc086f1714d8261c0d1394fb39ae1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cocoonprojects/ora/pulls/62/commits","review_comments_url":"https://api.github.com/repos/cocoonprojects/ora/pulls/62/comments","review_comment_url":"https://api.github.com/repos/cocoonprojects/ora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocoonprojects/ora/issues/62/comments","statuses_url":"https://api.github.com/repos/cocoonprojects/ora/statuses/05dec248ba637d20906819399604d432f4067e7e","head":{"label":"cocoonprojects:unical_reminder_rebase","ref":"unical_reminder_rebase","sha":"05dec248ba637d20906819399604d432f4067e7e","user":{"login":"cocoonprojects","id":7962104,"avatar_url":"https://avatars.githubusercontent.com/u/7962104?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoonprojects","html_url":"https://github.com/cocoonprojects","followers_url":"https://api.github.com/users/cocoonprojects/followers","following_url":"https://api.github.com/users/cocoonprojects/following{/other_user}","gists_url":"https://api.github.com/users/cocoonprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoonprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoonprojects/subscriptions","organizations_url":"https://api.github.com/users/cocoonprojects/orgs","repos_url":"https://api.github.com/users/cocoonprojects/repos","events_url":"https://api.github.com/users/cocoonprojects/events{/privacy}","received_events_url":"https://api.github.com/users/cocoonprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":21118274,"name":"ora","full_name":"cocoonprojects/ora","owner":{"login":"cocoonprojects","id":7962104,"avatar_url":"https://avatars.githubusercontent.com/u/7962104?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoonprojects","html_url":"https://github.com/cocoonprojects","followers_url":"https://api.github.com/users/cocoonprojects/followers","following_url":"https://api.github.com/users/cocoonprojects/following{/other_user}","gists_url":"https://api.github.com/users/cocoonprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoonprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoonprojects/subscriptions","organizations_url":"https://api.github.com/users/cocoonprojects/orgs","repos_url":"https://api.github.com/users/cocoonprojects/repos","events_url":"https://api.github.com/users/cocoonprojects/events{/privacy}","received_events_url":"https://api.github.com/users/cocoonprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocoonprojects/ora","description":"Non-hierarchical clustering technology platform","fork":false,"url":"https://api.github.com/repos/cocoonprojects/ora","forks_url":"https://api.github.com/repos/cocoonprojects/ora/forks","keys_url":"https://api.github.com/repos/cocoonprojects/ora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocoonprojects/ora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocoonprojects/ora/teams","hooks_url":"https://api.github.com/repos/cocoonprojects/ora/hooks","issue_events_url":"https://api.github.com/repos/cocoonprojects/ora/issues/events{/number}","events_url":"https://api.github.com/repos/cocoonprojects/ora/events","assignees_url":"https://api.github.com/repos/cocoonprojects/ora/assignees{/user}","branches_url":"https://api.github.com/repos/cocoonprojects/ora/branches{/branch}","tags_url":"https://api.github.com/repos/cocoonprojects/ora/tags","blobs_url":"https://api.github.com/repos/cocoonprojects/ora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocoonprojects/ora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocoonprojects/ora/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocoonprojects/ora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocoonprojects/ora/statuses/{sha}","languages_url":"https://api.github.com/repos/cocoonprojects/ora/languages","stargazers_url":"https://api.github.com/repos/cocoonprojects/ora/stargazers","contributors_url":"https://api.github.com/repos/cocoonprojects/ora/contributors","subscribers_url":"https://api.github.com/repos/cocoonprojects/ora/subscribers","subscription_url":"https://api.github.com/repos/cocoonprojects/ora/subscription","commits_url":"https://api.github.com/repos/cocoonprojects/ora/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocoonprojects/ora/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocoonprojects/ora/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocoonprojects/ora/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocoonprojects/ora/contents/{+path}","compare_url":"https://api.github.com/repos/cocoonprojects/ora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocoonprojects/ora/merges","archive_url":"https://api.github.com/repos/cocoonprojects/ora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocoonprojects/ora/downloads","issues_url":"https://api.github.com/repos/cocoonprojects/ora/issues{/number}","pulls_url":"https://api.github.com/repos/cocoonprojects/ora/pulls{/number}","milestones_url":"https://api.github.com/repos/cocoonprojects/ora/milestones{/number}","notifications_url":"https://api.github.com/repos/cocoonprojects/ora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocoonprojects/ora/labels{/name}","releases_url":"https://api.github.com/repos/cocoonprojects/ora/releases{/id}","created_at":"2014-06-23T07:56:28Z","updated_at":"2015-04-24T15:18:21Z","pushed_at":"2015-09-01T14:58:34Z","git_url":"git://github.com/cocoonprojects/ora.git","ssh_url":"git@github.com:cocoonprojects/ora.git","clone_url":"https://github.com/cocoonprojects/ora.git","svn_url":"https://github.com/cocoonprojects/ora","homepage":"","size":8358,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"cocoonprojects:develop","ref":"develop","sha":"4d6209413aef81d596a8a7e843c58eb40e7e3ed8","user":{"login":"cocoonprojects","id":7962104,"avatar_url":"https://avatars.githubusercontent.com/u/7962104?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoonprojects","html_url":"https://github.com/cocoonprojects","followers_url":"https://api.github.com/users/cocoonprojects/followers","following_url":"https://api.github.com/users/cocoonprojects/following{/other_user}","gists_url":"https://api.github.com/users/cocoonprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoonprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoonprojects/subscriptions","organizations_url":"https://api.github.com/users/cocoonprojects/orgs","repos_url":"https://api.github.com/users/cocoonprojects/repos","events_url":"https://api.github.com/users/cocoonprojects/events{/privacy}","received_events_url":"https://api.github.com/users/cocoonprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":21118274,"name":"ora","full_name":"cocoonprojects/ora","owner":{"login":"cocoonprojects","id":7962104,"avatar_url":"https://avatars.githubusercontent.com/u/7962104?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoonprojects","html_url":"https://github.com/cocoonprojects","followers_url":"https://api.github.com/users/cocoonprojects/followers","following_url":"https://api.github.com/users/cocoonprojects/following{/other_user}","gists_url":"https://api.github.com/users/cocoonprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoonprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoonprojects/subscriptions","organizations_url":"https://api.github.com/users/cocoonprojects/orgs","repos_url":"https://api.github.com/users/cocoonprojects/repos","events_url":"https://api.github.com/users/cocoonprojects/events{/privacy}","received_events_url":"https://api.github.com/users/cocoonprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocoonprojects/ora","description":"Non-hierarchical clustering technology platform","fork":false,"url":"https://api.github.com/repos/cocoonprojects/ora","forks_url":"https://api.github.com/repos/cocoonprojects/ora/forks","keys_url":"https://api.github.com/repos/cocoonprojects/ora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocoonprojects/ora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocoonprojects/ora/teams","hooks_url":"https://api.github.com/repos/cocoonprojects/ora/hooks","issue_events_url":"https://api.github.com/repos/cocoonprojects/ora/issues/events{/number}","events_url":"https://api.github.com/repos/cocoonprojects/ora/events","assignees_url":"https://api.github.com/repos/cocoonprojects/ora/assignees{/user}","branches_url":"https://api.github.com/repos/cocoonprojects/ora/branches{/branch}","tags_url":"https://api.github.com/repos/cocoonprojects/ora/tags","blobs_url":"https://api.github.com/repos/cocoonprojects/ora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocoonprojects/ora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocoonprojects/ora/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocoonprojects/ora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocoonprojects/ora/statuses/{sha}","languages_url":"https://api.github.com/repos/cocoonprojects/ora/languages","stargazers_url":"https://api.github.com/repos/cocoonprojects/ora/stargazers","contributors_url":"https://api.github.com/repos/cocoonprojects/ora/contributors","subscribers_url":"https://api.github.com/repos/cocoonprojects/ora/subscribers","subscription_url":"https://api.github.com/repos/cocoonprojects/ora/subscription","commits_url":"https://api.github.com/repos/cocoonprojects/ora/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocoonprojects/ora/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocoonprojects/ora/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocoonprojects/ora/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocoonprojects/ora/contents/{+path}","compare_url":"https://api.github.com/repos/cocoonprojects/ora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocoonprojects/ora/merges","archive_url":"https://api.github.com/repos/cocoonprojects/ora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocoonprojects/ora/downloads","issues_url":"https://api.github.com/repos/cocoonprojects/ora/issues{/number}","pulls_url":"https://api.github.com/repos/cocoonprojects/ora/pulls{/number}","milestones_url":"https://api.github.com/repos/cocoonprojects/ora/milestones{/number}","notifications_url":"https://api.github.com/repos/cocoonprojects/ora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocoonprojects/ora/labels{/name}","releases_url":"https://api.github.com/repos/cocoonprojects/ora/releases{/id}","created_at":"2014-06-23T07:56:28Z","updated_at":"2015-04-24T15:18:21Z","pushed_at":"2015-09-01T14:58:34Z","git_url":"git://github.com/cocoonprojects/ora.git","ssh_url":"git@github.com:cocoonprojects/ora.git","clone_url":"https://github.com/cocoonprojects/ora.git","svn_url":"https://github.com/cocoonprojects/ora","homepage":"","size":8358,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cocoonprojects/ora/pulls/62"},"html":{"href":"https://github.com/cocoonprojects/ora/pull/62"},"issue":{"href":"https://api.github.com/repos/cocoonprojects/ora/issues/62"},"comments":{"href":"https://api.github.com/repos/cocoonprojects/ora/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/cocoonprojects/ora/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/cocoonprojects/ora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocoonprojects/ora/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/cocoonprojects/ora/statuses/05dec248ba637d20906819399604d432f4067e7e"}}}}