{"action":"created","comment":{"url":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments/49338983","id":49338983,"diff_hunk":"@@ -192,11 +203,15 @@ public boolean isRoot(FsItem fsi) {\n                 BaseForum forum1 = ((ForumMsgCntrFsItem)fsi).getForum();\n                 BaseForum forumAndTopics1 = messageForumsForumManager.getForumByIdWithTopics(forum1.getId());\n                 Iterator discussionForum1 = forumAndTopics1.getTopics().iterator();\n+                String userId = UserDirectoryService.getCurrentUser().getId();","path":"textarea/elfinder-sakai/src/java/org/sakaiproject/elfinder/sakai/msgcntr/MsgCntrSiteVolumeFactory.java","position":58,"original_position":58,"commit_id":"39492c94532f2c4bb442188e4007987b845c5cb4","original_commit_id":"39492c94532f2c4bb442188e4007987b845c5cb4","user":{"login":"buckett","id":5921,"avatar_url":"https://avatars.githubusercontent.com/u/5921?v=3","gravatar_id":"","url":"https://api.github.com/users/buckett","html_url":"https://github.com/buckett","followers_url":"https://api.github.com/users/buckett/followers","following_url":"https://api.github.com/users/buckett/following{/other_user}","gists_url":"https://api.github.com/users/buckett/gists{/gist_id}","starred_url":"https://api.github.com/users/buckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckett/subscriptions","organizations_url":"https://api.github.com/users/buckett/orgs","repos_url":"https://api.github.com/users/buckett/repos","events_url":"https://api.github.com/users/buckett/events{/privacy}","received_events_url":"https://api.github.com/users/buckett/received_events","type":"User","site_admin":false},"body":"It's better to inject the UserDirectoryService rather than using the cover.","created_at":"2016-01-11T16:08:42Z","updated_at":"2016-01-11T16:08:42Z","html_url":"https://github.com/sakaiproject/sakai/pull/1564#discussion_r49338983","pull_request_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564","_links":{"self":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments/49338983"},"html":{"href":"https://github.com/sakaiproject/sakai/pull/1564#discussion_r49338983"},"pull_request":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564"}}},"pull_request":{"url":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564","id":55620829,"html_url":"https://github.com/sakaiproject/sakai/pull/1564","diff_url":"https://github.com/sakaiproject/sakai/pull/1564.diff","patch_url":"https://github.com/sakaiproject/sakai/pull/1564.patch","issue_url":"https://api.github.com/repos/sakaiproject/sakai/issues/1564","number":1564,"state":"open","locked":false,"title":"SAK-30158 Added elFinder support to Forums.","user":{"login":"ouit0408","id":13135327,"avatar_url":"https://avatars.githubusercontent.com/u/13135327?v=3","gravatar_id":"","url":"https://api.github.com/users/ouit0408","html_url":"https://github.com/ouit0408","followers_url":"https://api.github.com/users/ouit0408/followers","following_url":"https://api.github.com/users/ouit0408/following{/other_user}","gists_url":"https://api.github.com/users/ouit0408/gists{/gist_id}","starred_url":"https://api.github.com/users/ouit0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouit0408/subscriptions","organizations_url":"https://api.github.com/users/ouit0408/orgs","repos_url":"https://api.github.com/users/ouit0408/repos","events_url":"https://api.github.com/users/ouit0408/events{/privacy}","received_events_url":"https://api.github.com/users/ouit0408/received_events","type":"User","site_admin":false},"body":"Checked permissions for topics in forums before displaying in elfinder.\r\nUsed method 'isRead' of UIPermissionsManager class to check for read\r\npermissions","created_at":"2016-01-11T13:19:28Z","updated_at":"2016-01-11T16:08:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e291a8fae3da6740149530765727a53c14cc92f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564/commits","review_comments_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564/comments","review_comment_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sakaiproject/sakai/issues/1564/comments","statuses_url":"https://api.github.com/repos/sakaiproject/sakai/statuses/39492c94532f2c4bb442188e4007987b845c5cb4","head":{"label":"ouit0408:SAK-30158","ref":"SAK-30158","sha":"39492c94532f2c4bb442188e4007987b845c5cb4","user":{"login":"ouit0408","id":13135327,"avatar_url":"https://avatars.githubusercontent.com/u/13135327?v=3","gravatar_id":"","url":"https://api.github.com/users/ouit0408","html_url":"https://github.com/ouit0408","followers_url":"https://api.github.com/users/ouit0408/followers","following_url":"https://api.github.com/users/ouit0408/following{/other_user}","gists_url":"https://api.github.com/users/ouit0408/gists{/gist_id}","starred_url":"https://api.github.com/users/ouit0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouit0408/subscriptions","organizations_url":"https://api.github.com/users/ouit0408/orgs","repos_url":"https://api.github.com/users/ouit0408/repos","events_url":"https://api.github.com/users/ouit0408/events{/privacy}","received_events_url":"https://api.github.com/users/ouit0408/received_events","type":"User","site_admin":false},"repo":{"id":40235615,"name":"sakai","full_name":"ouit0408/sakai","owner":{"login":"ouit0408","id":13135327,"avatar_url":"https://avatars.githubusercontent.com/u/13135327?v=3","gravatar_id":"","url":"https://api.github.com/users/ouit0408","html_url":"https://github.com/ouit0408","followers_url":"https://api.github.com/users/ouit0408/followers","following_url":"https://api.github.com/users/ouit0408/following{/other_user}","gists_url":"https://api.github.com/users/ouit0408/gists{/gist_id}","starred_url":"https://api.github.com/users/ouit0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouit0408/subscriptions","organizations_url":"https://api.github.com/users/ouit0408/orgs","repos_url":"https://api.github.com/users/ouit0408/repos","events_url":"https://api.github.com/users/ouit0408/events{/privacy}","received_events_url":"https://api.github.com/users/ouit0408/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ouit0408/sakai","description":"Sakai is a freely available, feature-rich technology solution for learning, teaching, research and collaboration. Sakai is an open source software suite developed by a diverse and global adopter community.","fork":true,"url":"https://api.github.com/repos/ouit0408/sakai","forks_url":"https://api.github.com/repos/ouit0408/sakai/forks","keys_url":"https://api.github.com/repos/ouit0408/sakai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ouit0408/sakai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ouit0408/sakai/teams","hooks_url":"https://api.github.com/repos/ouit0408/sakai/hooks","issue_events_url":"https://api.github.com/repos/ouit0408/sakai/issues/events{/number}","events_url":"https://api.github.com/repos/ouit0408/sakai/events","assignees_url":"https://api.github.com/repos/ouit0408/sakai/assignees{/user}","branches_url":"https://api.github.com/repos/ouit0408/sakai/branches{/branch}","tags_url":"https://api.github.com/repos/ouit0408/sakai/tags","blobs_url":"https://api.github.com/repos/ouit0408/sakai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ouit0408/sakai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ouit0408/sakai/git/refs{/sha}","trees_url":"https://api.github.com/repos/ouit0408/sakai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ouit0408/sakai/statuses/{sha}","languages_url":"https://api.github.com/repos/ouit0408/sakai/languages","stargazers_url":"https://api.github.com/repos/ouit0408/sakai/stargazers","contributors_url":"https://api.github.com/repos/ouit0408/sakai/contributors","subscribers_url":"https://api.github.com/repos/ouit0408/sakai/subscribers","subscription_url":"https://api.github.com/repos/ouit0408/sakai/subscription","commits_url":"https://api.github.com/repos/ouit0408/sakai/commits{/sha}","git_commits_url":"https://api.github.com/repos/ouit0408/sakai/git/commits{/sha}","comments_url":"https://api.github.com/repos/ouit0408/sakai/comments{/number}","issue_comment_url":"https://api.github.com/repos/ouit0408/sakai/issues/comments{/number}","contents_url":"https://api.github.com/repos/ouit0408/sakai/contents/{+path}","compare_url":"https://api.github.com/repos/ouit0408/sakai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ouit0408/sakai/merges","archive_url":"https://api.github.com/repos/ouit0408/sakai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ouit0408/sakai/downloads","issues_url":"https://api.github.com/repos/ouit0408/sakai/issues{/number}","pulls_url":"https://api.github.com/repos/ouit0408/sakai/pulls{/number}","milestones_url":"https://api.github.com/repos/ouit0408/sakai/milestones{/number}","notifications_url":"https://api.github.com/repos/ouit0408/sakai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ouit0408/sakai/labels{/name}","releases_url":"https://api.github.com/repos/ouit0408/sakai/releases{/id}","created_at":"2015-08-05T09:04:13Z","updated_at":"2015-08-05T09:05:03Z","pushed_at":"2016-01-11T13:23:01Z","git_url":"git://github.com/ouit0408/sakai.git","ssh_url":"git@github.com:ouit0408/sakai.git","clone_url":"https://github.com/ouit0408/sakai.git","svn_url":"https://github.com/ouit0408/sakai","homepage":"https://www.sakaiproject.org","size":223007,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"sakaiproject:master","ref":"master","sha":"876627d1fc68b4fa42fdd687a6b3432954f811ed","user":{"login":"sakaiproject","id":314726,"avatar_url":"https://avatars.githubusercontent.com/u/314726?v=3","gravatar_id":"","url":"https://api.github.com/users/sakaiproject","html_url":"https://github.com/sakaiproject","followers_url":"https://api.github.com/users/sakaiproject/followers","following_url":"https://api.github.com/users/sakaiproject/following{/other_user}","gists_url":"https://api.github.com/users/sakaiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/sakaiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakaiproject/subscriptions","organizations_url":"https://api.github.com/users/sakaiproject/orgs","repos_url":"https://api.github.com/users/sakaiproject/repos","events_url":"https://api.github.com/users/sakaiproject/events{/privacy}","received_events_url":"https://api.github.com/users/sakaiproject/received_events","type":"Organization","site_admin":false},"repo":{"id":28589709,"name":"sakai","full_name":"sakaiproject/sakai","owner":{"login":"sakaiproject","id":314726,"avatar_url":"https://avatars.githubusercontent.com/u/314726?v=3","gravatar_id":"","url":"https://api.github.com/users/sakaiproject","html_url":"https://github.com/sakaiproject","followers_url":"https://api.github.com/users/sakaiproject/followers","following_url":"https://api.github.com/users/sakaiproject/following{/other_user}","gists_url":"https://api.github.com/users/sakaiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/sakaiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakaiproject/subscriptions","organizations_url":"https://api.github.com/users/sakaiproject/orgs","repos_url":"https://api.github.com/users/sakaiproject/repos","events_url":"https://api.github.com/users/sakaiproject/events{/privacy}","received_events_url":"https://api.github.com/users/sakaiproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sakaiproject/sakai","description":"Sakai is a freely available, feature-rich technology solution for learning, teaching, research and collaboration. Sakai is an open source software suite developed by a diverse and global adopter community.","fork":false,"url":"https://api.github.com/repos/sakaiproject/sakai","forks_url":"https://api.github.com/repos/sakaiproject/sakai/forks","keys_url":"https://api.github.com/repos/sakaiproject/sakai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sakaiproject/sakai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sakaiproject/sakai/teams","hooks_url":"https://api.github.com/repos/sakaiproject/sakai/hooks","issue_events_url":"https://api.github.com/repos/sakaiproject/sakai/issues/events{/number}","events_url":"https://api.github.com/repos/sakaiproject/sakai/events","assignees_url":"https://api.github.com/repos/sakaiproject/sakai/assignees{/user}","branches_url":"https://api.github.com/repos/sakaiproject/sakai/branches{/branch}","tags_url":"https://api.github.com/repos/sakaiproject/sakai/tags","blobs_url":"https://api.github.com/repos/sakaiproject/sakai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sakaiproject/sakai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sakaiproject/sakai/git/refs{/sha}","trees_url":"https://api.github.com/repos/sakaiproject/sakai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sakaiproject/sakai/statuses/{sha}","languages_url":"https://api.github.com/repos/sakaiproject/sakai/languages","stargazers_url":"https://api.github.com/repos/sakaiproject/sakai/stargazers","contributors_url":"https://api.github.com/repos/sakaiproject/sakai/contributors","subscribers_url":"https://api.github.com/repos/sakaiproject/sakai/subscribers","subscription_url":"https://api.github.com/repos/sakaiproject/sakai/subscription","commits_url":"https://api.github.com/repos/sakaiproject/sakai/commits{/sha}","git_commits_url":"https://api.github.com/repos/sakaiproject/sakai/git/commits{/sha}","comments_url":"https://api.github.com/repos/sakaiproject/sakai/comments{/number}","issue_comment_url":"https://api.github.com/repos/sakaiproject/sakai/issues/comments{/number}","contents_url":"https://api.github.com/repos/sakaiproject/sakai/contents/{+path}","compare_url":"https://api.github.com/repos/sakaiproject/sakai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sakaiproject/sakai/merges","archive_url":"https://api.github.com/repos/sakaiproject/sakai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sakaiproject/sakai/downloads","issues_url":"https://api.github.com/repos/sakaiproject/sakai/issues{/number}","pulls_url":"https://api.github.com/repos/sakaiproject/sakai/pulls{/number}","milestones_url":"https://api.github.com/repos/sakaiproject/sakai/milestones{/number}","notifications_url":"https://api.github.com/repos/sakaiproject/sakai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sakaiproject/sakai/labels{/name}","releases_url":"https://api.github.com/repos/sakaiproject/sakai/releases{/id}","created_at":"2014-12-29T11:14:17Z","updated_at":"2016-01-11T14:53:46Z","pushed_at":"2016-01-11T14:55:35Z","git_url":"git://github.com/sakaiproject/sakai.git","ssh_url":"git@github.com:sakaiproject/sakai.git","clone_url":"https://github.com/sakaiproject/sakai.git","svn_url":"https://github.com/sakaiproject/sakai","homepage":"https://www.sakaiproject.org","size":229951,"stargazers_count":108,"watchers_count":108,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":172,"mirror_url":null,"open_issues_count":105,"forks":172,"open_issues":105,"watchers":108,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564"},"html":{"href":"https://github.com/sakaiproject/sakai/pull/1564"},"issue":{"href":"https://api.github.com/repos/sakaiproject/sakai/issues/1564"},"comments":{"href":"https://api.github.com/repos/sakaiproject/sakai/issues/1564/comments"},"review_comments":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564/comments"},"review_comment":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/1564/commits"},"statuses":{"href":"https://api.github.com/repos/sakaiproject/sakai/statuses/39492c94532f2c4bb442188e4007987b845c5cb4"}}}}