GitHub PullRequestReviewCommentEvent at 2014-12-22 09:34:37
Repository: oq-platform
Actor: micheles
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/gem/oq-platform/pulls/comments/22159454","id":22159454,"diff_hunk":"@@ -142,6 +145,12 @@ def create_geonode_map(self, layers):\n                     local=True))\n         map.set_bounds_from_layers(map.local_layers)\n         map.set_default_permissions()\n+        perm_spec = {'authenticated': '_none', 'users': [[self.user, 'map_readwrite'], [self.user, 'map_admin']], 'anonymous': '_none'}","path":"openquakeplatform/openquakeplatform/icebox/models.py","position":21,"original_position":21,"commit_id":"865f6513e71e51d73107ace1d826b83ff19fb627","original_commit_id":"865f6513e71e51d73107ace1d826b83ff19fb627","user":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"body":"Same as before","created_at":"2014-12-22T09:34:37Z","updated_at":"2014-12-22T09:34:37Z","html_url":"https://github.com/gem/oq-platform/pull/299#discussion_r22159454","pull_request_url":"https://api.github.com/repos/gem/oq-platform/pulls/299","_links":{"self":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/comments/22159454"},"html":{"href":"https://github.com/gem/oq-platform/pull/299#discussion_r22159454"},"pull_request":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/299"}}},"pull_request":{"url":"https://api.github.com/repos/gem/oq-platform/pulls/299","id":26421420,"html_url":"https://github.com/gem/oq-platform/pull/299","diff_url":"https://github.com/gem/oq-platform/pull/299.diff","patch_url":"https://github.com/gem/oq-platform/pull/299.patch","issue_url":"https://api.github.com/repos/gem/oq-platform/issues/299","number":299,"state":"open","locked":false,"title":"[WIP] Icebox calculations are filtered by owner","user":{"login":"daniviga","id":1818657,"avatar_url":"https://avatars.githubusercontent.com/u/1818657?v=3","gravatar_id":"","url":"https://api.github.com/users/daniviga","html_url":"https://github.com/daniviga","followers_url":"https://api.github.com/users/daniviga/followers","following_url":"https://api.github.com/users/daniviga/following{/other_user}","gists_url":"https://api.github.com/users/daniviga/gists{/gist_id}","starred_url":"https://api.github.com/users/daniviga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniviga/subscriptions","organizations_url":"https://api.github.com/users/daniviga/orgs","repos_url":"https://api.github.com/users/daniviga/repos","events_url":"https://api.github.com/users/daniviga/events{/privacy}","received_events_url":"https://api.github.com/users/daniviga/received_events","type":"User","site_admin":false},"body":"With this PR a user will see only his/her calculations, maps and outputs.\r\n\r\nUnfortunately the \"Latest maps\" feature used in the homepage doesn't filter maps based on owners, showing all maps. We must replace it. ","created_at":"2014-12-20T22:04:41Z","updated_at":"2014-12-22T09:34:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"253397db08d3458e383e233dd0b57dd2f5ef0196","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gem/oq-platform/pulls/299/commits","review_comments_url":"https://api.github.com/repos/gem/oq-platform/pulls/299/comments","review_comment_url":"https://api.github.com/repos/gem/oq-platform/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gem/oq-platform/issues/299/comments","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/865f6513e71e51d73107ace1d826b83ff19fb627","head":{"label":"gem:icebox-owner","ref":"icebox-owner","sha":"865f6513e71e51d73107ace1d826b83ff19fb627","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5497412,"name":"oq-platform","full_name":"gem/oq-platform","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-platform","description":"OpenQuake Platform.","fork":false,"url":"https://api.github.com/repos/gem/oq-platform","forks_url":"https://api.github.com/repos/gem/oq-platform/forks","keys_url":"https://api.github.com/repos/gem/oq-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-platform/teams","hooks_url":"https://api.github.com/repos/gem/oq-platform/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-platform/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-platform/events","assignees_url":"https://api.github.com/repos/gem/oq-platform/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-platform/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-platform/tags","blobs_url":"https://api.github.com/repos/gem/oq-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-platform/languages","stargazers_url":"https://api.github.com/repos/gem/oq-platform/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-platform/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-platform/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-platform/subscription","commits_url":"https://api.github.com/repos/gem/oq-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-platform/issues/comments/{number}","contents_url":"https://api.github.com/repos/gem/oq-platform/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-platform/merges","archive_url":"https://api.github.com/repos/gem/oq-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-platform/downloads","issues_url":"https://api.github.com/repos/gem/oq-platform/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-platform/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-platform/releases{/id}","created_at":"2012-08-21T16:00:07Z","updated_at":"2014-12-19T19:01:25Z","pushed_at":"2014-12-22T09:33:02Z","git_url":"git://github.com/gem/oq-platform.git","ssh_url":"git@github.com:gem/oq-platform.git","clone_url":"https://github.com/gem/oq-platform.git","svn_url":"https://github.com/gem/oq-platform","homepage":null,"size":156168,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":3,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"9ce369283aac9864e079e1058b3ffbf313132ee4","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5497412,"name":"oq-platform","full_name":"gem/oq-platform","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-platform","description":"OpenQuake Platform.","fork":false,"url":"https://api.github.com/repos/gem/oq-platform","forks_url":"https://api.github.com/repos/gem/oq-platform/forks","keys_url":"https://api.github.com/repos/gem/oq-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-platform/teams","hooks_url":"https://api.github.com/repos/gem/oq-platform/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-platform/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-platform/events","assignees_url":"https://api.github.com/repos/gem/oq-platform/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-platform/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-platform/tags","blobs_url":"https://api.github.com/repos/gem/oq-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-platform/languages","stargazers_url":"https://api.github.com/repos/gem/oq-platform/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-platform/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-platform/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-platform/subscription","commits_url":"https://api.github.com/repos/gem/oq-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-platform/issues/comments/{number}","contents_url":"https://api.github.com/repos/gem/oq-platform/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-platform/merges","archive_url":"https://api.github.com/repos/gem/oq-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-platform/downloads","issues_url":"https://api.github.com/repos/gem/oq-platform/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-platform/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-platform/releases{/id}","created_at":"2012-08-21T16:00:07Z","updated_at":"2014-12-19T19:01:25Z","pushed_at":"2014-12-22T09:33:02Z","git_url":"git://github.com/gem/oq-platform.git","ssh_url":"git@github.com:gem/oq-platform.git","clone_url":"https://github.com/gem/oq-platform.git","svn_url":"https://github.com/gem/oq-platform","homepage":null,"size":156168,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/299"},"html":{"href":"https://github.com/gem/oq-platform/pull/299"},"issue":{"href":"https://api.github.com/repos/gem/oq-platform/issues/299"},"comments":{"href":"https://api.github.com/repos/gem/oq-platform/issues/299/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/299/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/299/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-platform/statuses/865f6513e71e51d73107ace1d826b83ff19fb627"}}}}