{"action":"created","comment":{"url":"https://api.github.com/repos/exoplatform/calendar/pulls/comments/23916148","id":23916148,"diff_hunk":"@@ -3264,18 +3268,27 @@ public boolean canEdit(Node calNode, String username) throws Exception {\n         .getComponentInstanceOfType(OrganizationService.class);\r\n     StringBuilder sb = new StringBuilder(username);\r\n     if (oService != null) {\r","path":"calendar-service/src/main/java/org/exoplatform/calendar/service/impl/JCRDataStorage.java","position":22,"original_position":22,"commit_id":"61ce389539a69bf341082cd9ca77c1361ee7b679","original_commit_id":"61ce389539a69bf341082cd9ca77c1361ee7b679","user":{"login":"ahamdi","id":677135,"avatar_url":"https://avatars.githubusercontent.com/u/677135?v=3","gravatar_id":"","url":"https://api.github.com/users/ahamdi","html_url":"https://github.com/ahamdi","followers_url":"https://api.github.com/users/ahamdi/followers","following_url":"https://api.github.com/users/ahamdi/following{/other_user}","gists_url":"https://api.github.com/users/ahamdi/gists{/gist_id}","starred_url":"https://api.github.com/users/ahamdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahamdi/subscriptions","organizations_url":"https://api.github.com/users/ahamdi/orgs","repos_url":"https://api.github.com/users/ahamdi/repos","events_url":"https://api.github.com/users/ahamdi/events{/privacy}","received_events_url":"https://api.github.com/users/ahamdi/received_events","type":"User","site_admin":false},"body":"This should be under the block else","created_at":"2015-02-02T10:22:02Z","updated_at":"2015-02-02T10:22:02Z","html_url":"https://github.com/exoplatform/calendar/pull/73#discussion_r23916148","pull_request_url":"https://api.github.com/repos/exoplatform/calendar/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/exoplatform/calendar/pulls/comments/23916148"},"html":{"href":"https://github.com/exoplatform/calendar/pull/73#discussion_r23916148"},"pull_request":{"href":"https://api.github.com/repos/exoplatform/calendar/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/exoplatform/calendar/pulls/73","id":28456727,"html_url":"https://github.com/exoplatform/calendar/pull/73","diff_url":"https://github.com/exoplatform/calendar/pull/73.diff","patch_url":"https://github.com/exoplatform/calendar/pull/73.patch","issue_url":"https://api.github.com/repos/exoplatform/calendar/issues/73","number":73,"state":"open","locked":false,"title":"CAL-1075: Use ConversationState instead of OrganizationService if possib...","user":{"login":"ttthanh","id":822194,"avatar_url":"https://avatars.githubusercontent.com/u/822194?v=3","gravatar_id":"","url":"https://api.github.com/users/ttthanh","html_url":"https://github.com/ttthanh","followers_url":"https://api.github.com/users/ttthanh/followers","following_url":"https://api.github.com/users/ttthanh/following{/other_user}","gists_url":"https://api.github.com/users/ttthanh/gists{/gist_id}","starred_url":"https://api.github.com/users/ttthanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttthanh/subscriptions","organizations_url":"https://api.github.com/users/ttthanh/orgs","repos_url":"https://api.github.com/users/ttthanh/repos","events_url":"https://api.github.com/users/ttthanh/events{/privacy}","received_events_url":"https://api.github.com/users/ttthanh/received_events","type":"User","site_admin":false},"body":"...le","created_at":"2015-02-02T10:11:16Z","updated_at":"2015-02-02T10:22:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e26c16007372f8346250db8a6d6addedfb348336","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/exoplatform/calendar/pulls/73/commits","review_comments_url":"https://api.github.com/repos/exoplatform/calendar/pulls/73/comments","review_comment_url":"https://api.github.com/repos/exoplatform/calendar/pulls/comments/{number}","comments_url":"https://api.github.com/repos/exoplatform/calendar/issues/73/comments","statuses_url":"https://api.github.com/repos/exoplatform/calendar/statuses/61ce389539a69bf341082cd9ca77c1361ee7b679","head":{"label":"exodev:fix/4.1.x/CAL-1075","ref":"fix/4.1.x/CAL-1075","sha":"61ce389539a69bf341082cd9ca77c1361ee7b679","user":{"login":"exodev","id":1606522,"avatar_url":"https://avatars.githubusercontent.com/u/1606522?v=3","gravatar_id":"","url":"https://api.github.com/users/exodev","html_url":"https://github.com/exodev","followers_url":"https://api.github.com/users/exodev/followers","following_url":"https://api.github.com/users/exodev/following{/other_user}","gists_url":"https://api.github.com/users/exodev/gists{/gist_id}","starred_url":"https://api.github.com/users/exodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodev/subscriptions","organizations_url":"https://api.github.com/users/exodev/orgs","repos_url":"https://api.github.com/users/exodev/repos","events_url":"https://api.github.com/users/exodev/events{/privacy}","received_events_url":"https://api.github.com/users/exodev/received_events","type":"Organization","site_admin":false},"repo":{"id":4438616,"name":"calendar","full_name":"exodev/calendar","owner":{"login":"exodev","id":1606522,"avatar_url":"https://avatars.githubusercontent.com/u/1606522?v=3","gravatar_id":"","url":"https://api.github.com/users/exodev","html_url":"https://github.com/exodev","followers_url":"https://api.github.com/users/exodev/followers","following_url":"https://api.github.com/users/exodev/following{/other_user}","gists_url":"https://api.github.com/users/exodev/gists{/gist_id}","starred_url":"https://api.github.com/users/exodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodev/subscriptions","organizations_url":"https://api.github.com/users/exodev/orgs","repos_url":"https://api.github.com/users/exodev/repos","events_url":"https://api.github.com/users/exodev/events{/privacy}","received_events_url":"https://api.github.com/users/exodev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exodev/calendar","description":"eXo Calendar","fork":true,"url":"https://api.github.com/repos/exodev/calendar","forks_url":"https://api.github.com/repos/exodev/calendar/forks","keys_url":"https://api.github.com/repos/exodev/calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exodev/calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exodev/calendar/teams","hooks_url":"https://api.github.com/repos/exodev/calendar/hooks","issue_events_url":"https://api.github.com/repos/exodev/calendar/issues/events{/number}","events_url":"https://api.github.com/repos/exodev/calendar/events","assignees_url":"https://api.github.com/repos/exodev/calendar/assignees{/user}","branches_url":"https://api.github.com/repos/exodev/calendar/branches{/branch}","tags_url":"https://api.github.com/repos/exodev/calendar/tags","blobs_url":"https://api.github.com/repos/exodev/calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exodev/calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exodev/calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/exodev/calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exodev/calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/exodev/calendar/languages","stargazers_url":"https://api.github.com/repos/exodev/calendar/stargazers","contributors_url":"https://api.github.com/repos/exodev/calendar/contributors","subscribers_url":"https://api.github.com/repos/exodev/calendar/subscribers","subscription_url":"https://api.github.com/repos/exodev/calendar/subscription","commits_url":"https://api.github.com/repos/exodev/calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/exodev/calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/exodev/calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/exodev/calendar/issues/comments/{number}","contents_url":"https://api.github.com/repos/exodev/calendar/contents/{+path}","compare_url":"https://api.github.com/repos/exodev/calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exodev/calendar/merges","archive_url":"https://api.github.com/repos/exodev/calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exodev/calendar/downloads","issues_url":"https://api.github.com/repos/exodev/calendar/issues{/number}","pulls_url":"https://api.github.com/repos/exodev/calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/exodev/calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/exodev/calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exodev/calendar/labels{/name}","releases_url":"https://api.github.com/repos/exodev/calendar/releases{/id}","created_at":"2012-05-24T22:07:31Z","updated_at":"2015-01-28T04:58:21Z","pushed_at":"2015-02-02T10:10:18Z","git_url":"git://github.com/exodev/calendar.git","ssh_url":"git@github.com:exodev/calendar.git","clone_url":"https://github.com/exodev/calendar.git","svn_url":"https://github.com/exodev/calendar","homepage":null,"size":21459,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"exoplatform:stable/4.1.x","ref":"stable/4.1.x","sha":"a5fcb107417608886d0ac0073b5458634a83dccf","user":{"login":"exoplatform","id":259384,"avatar_url":"https://avatars.githubusercontent.com/u/259384?v=3","gravatar_id":"","url":"https://api.github.com/users/exoplatform","html_url":"https://github.com/exoplatform","followers_url":"https://api.github.com/users/exoplatform/followers","following_url":"https://api.github.com/users/exoplatform/following{/other_user}","gists_url":"https://api.github.com/users/exoplatform/gists{/gist_id}","starred_url":"https://api.github.com/users/exoplatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exoplatform/subscriptions","organizations_url":"https://api.github.com/users/exoplatform/orgs","repos_url":"https://api.github.com/users/exoplatform/repos","events_url":"https://api.github.com/users/exoplatform/events{/privacy}","received_events_url":"https://api.github.com/users/exoplatform/received_events","type":"Organization","site_admin":false},"repo":{"id":4438600,"name":"calendar","full_name":"exoplatform/calendar","owner":{"login":"exoplatform","id":259384,"avatar_url":"https://avatars.githubusercontent.com/u/259384?v=3","gravatar_id":"","url":"https://api.github.com/users/exoplatform","html_url":"https://github.com/exoplatform","followers_url":"https://api.github.com/users/exoplatform/followers","following_url":"https://api.github.com/users/exoplatform/following{/other_user}","gists_url":"https://api.github.com/users/exoplatform/gists{/gist_id}","starred_url":"https://api.github.com/users/exoplatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exoplatform/subscriptions","organizations_url":"https://api.github.com/users/exoplatform/orgs","repos_url":"https://api.github.com/users/exoplatform/repos","events_url":"https://api.github.com/users/exoplatform/events{/privacy}","received_events_url":"https://api.github.com/users/exoplatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exoplatform/calendar","description":"eXo Calendar","fork":false,"url":"https://api.github.com/repos/exoplatform/calendar","forks_url":"https://api.github.com/repos/exoplatform/calendar/forks","keys_url":"https://api.github.com/repos/exoplatform/calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exoplatform/calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exoplatform/calendar/teams","hooks_url":"https://api.github.com/repos/exoplatform/calendar/hooks","issue_events_url":"https://api.github.com/repos/exoplatform/calendar/issues/events{/number}","events_url":"https://api.github.com/repos/exoplatform/calendar/events","assignees_url":"https://api.github.com/repos/exoplatform/calendar/assignees{/user}","branches_url":"https://api.github.com/repos/exoplatform/calendar/branches{/branch}","tags_url":"https://api.github.com/repos/exoplatform/calendar/tags","blobs_url":"https://api.github.com/repos/exoplatform/calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exoplatform/calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exoplatform/calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/exoplatform/calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exoplatform/calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/exoplatform/calendar/languages","stargazers_url":"https://api.github.com/repos/exoplatform/calendar/stargazers","contributors_url":"https://api.github.com/repos/exoplatform/calendar/contributors","subscribers_url":"https://api.github.com/repos/exoplatform/calendar/subscribers","subscription_url":"https://api.github.com/repos/exoplatform/calendar/subscription","commits_url":"https://api.github.com/repos/exoplatform/calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/exoplatform/calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/exoplatform/calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/exoplatform/calendar/issues/comments/{number}","contents_url":"https://api.github.com/repos/exoplatform/calendar/contents/{+path}","compare_url":"https://api.github.com/repos/exoplatform/calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exoplatform/calendar/merges","archive_url":"https://api.github.com/repos/exoplatform/calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exoplatform/calendar/downloads","issues_url":"https://api.github.com/repos/exoplatform/calendar/issues{/number}","pulls_url":"https://api.github.com/repos/exoplatform/calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/exoplatform/calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/exoplatform/calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exoplatform/calendar/labels{/name}","releases_url":"https://api.github.com/repos/exoplatform/calendar/releases{/id}","created_at":"2012-05-24T22:06:21Z","updated_at":"2015-01-28T09:58:13Z","pushed_at":"2015-01-28T09:58:12Z","git_url":"git://github.com/exoplatform/calendar.git","ssh_url":"git@github.com:exoplatform/calendar.git","clone_url":"https://github.com/exoplatform/calendar.git","svn_url":"https://github.com/exoplatform/calendar","homepage":null,"size":13901,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":15,"forks":16,"open_issues":15,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exoplatform/calendar/pulls/73"},"html":{"href":"https://github.com/exoplatform/calendar/pull/73"},"issue":{"href":"https://api.github.com/repos/exoplatform/calendar/issues/73"},"comments":{"href":"https://api.github.com/repos/exoplatform/calendar/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/exoplatform/calendar/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/exoplatform/calendar/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/exoplatform/calendar/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/exoplatform/calendar/statuses/61ce389539a69bf341082cd9ca77c1361ee7b679"}}}}