{"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/comments/38969827","id":38969827,"diff_hunk":"@@ -4,11 +4,15 @@\n import java.util.Collection;\r\n import java.util.HashSet;\r\n import java.util.List;\r\n+import java.util.Map;\r\n import java.util.Map.Entry;\r\n import java.util.Set;\r\n \r\n import org.sagebionetworks.evaluation.manager.EvaluationPermissionsManager;\r\n import org.sagebionetworks.reflection.model.PaginatedResults;\r\n+import org.sagebionetworks.repo.manager.file.FileAssociateObject;\r","path":"services/repository-managers/src/main/java/org/sagebionetworks/repo/manager/AuthorizationManagerImpl.java","position":10,"original_position":10,"commit_id":"4e01401f2e2a68766c43d855b4cc62a43c5e51b5","original_commit_id":"4e01401f2e2a68766c43d855b4cc62a43c5e51b5","user":{"login":"john-hill","id":1728181,"avatar_url":"https://avatars.githubusercontent.com/u/1728181?v=3","gravatar_id":"","url":"https://api.github.com/users/john-hill","html_url":"https://github.com/john-hill","followers_url":"https://api.github.com/users/john-hill/followers","following_url":"https://api.github.com/users/john-hill/following{/other_user}","gists_url":"https://api.github.com/users/john-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/john-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-hill/subscriptions","organizations_url":"https://api.github.com/users/john-hill/orgs","repos_url":"https://api.github.com/users/john-hill/repos","events_url":"https://api.github.com/users/john-hill/events{/privacy}","received_events_url":"https://api.github.com/users/john-hill/received_events","type":"User","site_admin":false},"body":"clean up imports","created_at":"2015-09-08T19:38:14Z","updated_at":"2015-09-08T19:38:14Z","html_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services/pull/2097#discussion_r38969827","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/comments/38969827"},"html":{"href":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services/pull/2097#discussion_r38969827"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097","id":44315079,"html_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services/pull/2097","diff_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services/pull/2097.diff","patch_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services/pull/2097.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues/2097","number":2097,"state":"open","locked":false,"title":"Plfm 3364 d","user":{"login":"john-hill","id":1728181,"avatar_url":"https://avatars.githubusercontent.com/u/1728181?v=3","gravatar_id":"","url":"https://api.github.com/users/john-hill","html_url":"https://github.com/john-hill","followers_url":"https://api.github.com/users/john-hill/followers","following_url":"https://api.github.com/users/john-hill/following{/other_user}","gists_url":"https://api.github.com/users/john-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/john-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-hill/subscriptions","organizations_url":"https://api.github.com/users/john-hill/orgs","repos_url":"https://api.github.com/users/john-hill/repos","events_url":"https://api.github.com/users/john-hill/events{/privacy}","received_events_url":"https://api.github.com/users/john-hill/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-07T02:08:01Z","updated_at":"2015-09-08T19:38:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"944a6a24c514fbc6d78157997f8b3da2a34843f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues/2097/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/statuses/4e01401f2e2a68766c43d855b4cc62a43c5e51b5","head":{"label":"john-hill:PLFM-3364-d","ref":"PLFM-3364-d","sha":"4e01401f2e2a68766c43d855b4cc62a43c5e51b5","user":{"login":"john-hill","id":1728181,"avatar_url":"https://avatars.githubusercontent.com/u/1728181?v=3","gravatar_id":"","url":"https://api.github.com/users/john-hill","html_url":"https://github.com/john-hill","followers_url":"https://api.github.com/users/john-hill/followers","following_url":"https://api.github.com/users/john-hill/following{/other_user}","gists_url":"https://api.github.com/users/john-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/john-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-hill/subscriptions","organizations_url":"https://api.github.com/users/john-hill/orgs","repos_url":"https://api.github.com/users/john-hill/repos","events_url":"https://api.github.com/users/john-hill/events{/privacy}","received_events_url":"https://api.github.com/users/john-hill/received_events","type":"User","site_admin":false},"repo":{"id":4755426,"name":"Synapse-Repository-Services","full_name":"john-hill/Synapse-Repository-Services","owner":{"login":"john-hill","id":1728181,"avatar_url":"https://avatars.githubusercontent.com/u/1728181?v=3","gravatar_id":"","url":"https://api.github.com/users/john-hill","html_url":"https://github.com/john-hill","followers_url":"https://api.github.com/users/john-hill/followers","following_url":"https://api.github.com/users/john-hill/following{/other_user}","gists_url":"https://api.github.com/users/john-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/john-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-hill/subscriptions","organizations_url":"https://api.github.com/users/john-hill/orgs","repos_url":"https://api.github.com/users/john-hill/repos","events_url":"https://api.github.com/users/john-hill/events{/privacy}","received_events_url":"https://api.github.com/users/john-hill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/john-hill/Synapse-Repository-Services","description":"The Synapse Repository Services project is the home of the JSON REST web services for Synapse.","fork":true,"url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services","forks_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/forks","keys_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/teams","hooks_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/hooks","issue_events_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/issues/events{/number}","events_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/events","assignees_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/assignees{/user}","branches_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/branches{/branch}","tags_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/tags","blobs_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/git/refs{/sha}","trees_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/statuses/{sha}","languages_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/languages","stargazers_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/stargazers","contributors_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/contributors","subscribers_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/subscribers","subscription_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/subscription","commits_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/commits{/sha}","git_commits_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/git/commits{/sha}","comments_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/comments{/number}","issue_comment_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/issues/comments{/number}","contents_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/contents/{+path}","compare_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/merges","archive_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/downloads","issues_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/issues{/number}","pulls_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/pulls{/number}","milestones_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/milestones{/number}","notifications_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/labels{/name}","releases_url":"https://api.github.com/repos/john-hill/Synapse-Repository-Services/releases{/id}","created_at":"2012-06-22T20:23:07Z","updated_at":"2014-06-21T15:36:46Z","pushed_at":"2015-09-08T00:48:38Z","git_url":"git://github.com/john-hill/Synapse-Repository-Services.git","ssh_url":"git@github.com:john-hill/Synapse-Repository-Services.git","clone_url":"https://github.com/john-hill/Synapse-Repository-Services.git","svn_url":"https://github.com/john-hill/Synapse-Repository-Services","homepage":null,"size":46247,"stargazers_count":1,"watchers_count":1,"language":"Java","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":1,"default_branch":"master"}},"base":{"label":"Sage-Bionetworks:release-104","ref":"release-104","sha":"7468988a5e610f98ad26cec6a51a7146c7f080b1","user":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":4400676,"name":"Synapse-Repository-Services","full_name":"Sage-Bionetworks/Synapse-Repository-Services","owner":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services","description":"The Synapse Repository Services project is the home of the JSON REST web services for Synapse.","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services","forks_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/releases{/id}","created_at":"2012-05-22T01:06:50Z","updated_at":"2015-05-07T19:19:08Z","pushed_at":"2015-09-08T01:56:47Z","git_url":"git://github.com/Sage-Bionetworks/Synapse-Repository-Services.git","ssh_url":"git@github.com:Sage-Bionetworks/Synapse-Repository-Services.git","clone_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services.git","svn_url":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services","homepage":null,"size":62323,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":11,"forks":23,"open_issues":11,"watchers":17,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097"},"html":{"href":"https://github.com/Sage-Bionetworks/Synapse-Repository-Services/pull/2097"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues/2097"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/issues/2097/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/pulls/2097/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-Repository-Services/statuses/4e01401f2e2a68766c43d855b4cc62a43c5e51b5"}}}}