{"action":"created","comment":{"url":"https://api.github.com/repos/opendatateam/udata/pulls/comments/81967689","pull_request_review_id":2907858,"id":81967689,"diff_hunk":"@@ -41,7 +41,7 @@ <h4 class=\"list-group-item-heading ellipsis\">\n     {{ resource.owner|avatar(52, 'resource-owner') }}\n     {% endif %}\n \n-    {% if can_edit_resource(resource, dataset) %}\n+    {% if can_edit_resource(resource if resource.from_community else dataset) %}","path":"udata/templates/dataset/resource/list-item.html","position":5,"original_position":5,"commit_id":"c7fad5662a8c9f1dbd295f74e6f70891e05a991d","original_commit_id":"c7fad5662a8c9f1dbd295f74e6f70891e05a991d","user":{"login":"noirbizarre","id":15725,"avatar_url":"https://avatars.githubusercontent.com/u/15725?v=3","gravatar_id":"","url":"https://api.github.com/users/noirbizarre","html_url":"https://github.com/noirbizarre","followers_url":"https://api.github.com/users/noirbizarre/followers","following_url":"https://api.github.com/users/noirbizarre/following{/other_user}","gists_url":"https://api.github.com/users/noirbizarre/gists{/gist_id}","starred_url":"https://api.github.com/users/noirbizarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noirbizarre/subscriptions","organizations_url":"https://api.github.com/users/noirbizarre/orgs","repos_url":"https://api.github.com/users/noirbizarre/repos","events_url":"https://api.github.com/users/noirbizarre/events{/privacy}","received_events_url":"https://api.github.com/users/noirbizarre/received_events","type":"User","site_admin":false},"body":"Yes it does, but as discussed earlier, I made the minimal change to make it work until a proper cleanup and refactoring is done.","created_at":"2016-10-05T13:10:33Z","updated_at":"2016-10-05T13:10:33Z","html_url":"https://github.com/opendatateam/udata/pull/550#discussion_r81967689","pull_request_url":"https://api.github.com/repos/opendatateam/udata/pulls/550","_links":{"self":{"href":"https://api.github.com/repos/opendatateam/udata/pulls/comments/81967689"},"html":{"href":"https://github.com/opendatateam/udata/pull/550#discussion_r81967689"},"pull_request":{"href":"https://api.github.com/repos/opendatateam/udata/pulls/550"}}},"pull_request":{"url":"https://api.github.com/repos/opendatateam/udata/pulls/550","id":88052339,"html_url":"https://github.com/opendatateam/udata/pull/550","diff_url":"https://github.com/opendatateam/udata/pull/550.diff","patch_url":"https://github.com/opendatateam/udata/pull/550.patch","issue_url":"https://api.github.com/repos/opendatateam/udata/issues/550","number":550,"state":"open","locked":false,"title":"Add the missing community resource API","user":{"login":"noirbizarre","id":15725,"avatar_url":"https://avatars.githubusercontent.com/u/15725?v=3","gravatar_id":"","url":"https://api.github.com/users/noirbizarre","html_url":"https://github.com/noirbizarre","followers_url":"https://api.github.com/users/noirbizarre/followers","following_url":"https://api.github.com/users/noirbizarre/following{/other_user}","gists_url":"https://api.github.com/users/noirbizarre/gists{/gist_id}","starred_url":"https://api.github.com/users/noirbizarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noirbizarre/subscriptions","organizations_url":"https://api.github.com/users/noirbizarre/orgs","repos_url":"https://api.github.com/users/noirbizarre/repos","events_url":"https://api.github.com/users/noirbizarre/events{/privacy}","received_events_url":"https://api.github.com/users/noirbizarre/received_events","type":"User","site_admin":false},"body":"This PR add the missing community resource API creation endpoint and fixes permissions handling.\r\n","created_at":"2016-10-05T10:27:51Z","updated_at":"2016-10-05T13:10:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7f3c050b3e787c9dd94fc4a0e681b92651123be","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/opendatateam/udata/pulls/550/commits","review_comments_url":"https://api.github.com/repos/opendatateam/udata/pulls/550/comments","review_comment_url":"https://api.github.com/repos/opendatateam/udata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opendatateam/udata/issues/550/comments","statuses_url":"https://api.github.com/repos/opendatateam/udata/statuses/c7fad5662a8c9f1dbd295f74e6f70891e05a991d","head":{"label":"noirbizarre:add-the-missing-community-resource-api","ref":"add-the-missing-community-resource-api","sha":"c7fad5662a8c9f1dbd295f74e6f70891e05a991d","user":{"login":"noirbizarre","id":15725,"avatar_url":"https://avatars.githubusercontent.com/u/15725?v=3","gravatar_id":"","url":"https://api.github.com/users/noirbizarre","html_url":"https://github.com/noirbizarre","followers_url":"https://api.github.com/users/noirbizarre/followers","following_url":"https://api.github.com/users/noirbizarre/following{/other_user}","gists_url":"https://api.github.com/users/noirbizarre/gists{/gist_id}","starred_url":"https://api.github.com/users/noirbizarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noirbizarre/subscriptions","organizations_url":"https://api.github.com/users/noirbizarre/orgs","repos_url":"https://api.github.com/users/noirbizarre/repos","events_url":"https://api.github.com/users/noirbizarre/events{/privacy}","received_events_url":"https://api.github.com/users/noirbizarre/received_events","type":"User","site_admin":false},"repo":{"id":45184052,"name":"udata","full_name":"noirbizarre/udata","owner":{"login":"noirbizarre","id":15725,"avatar_url":"https://avatars.githubusercontent.com/u/15725?v=3","gravatar_id":"","url":"https://api.github.com/users/noirbizarre","html_url":"https://github.com/noirbizarre","followers_url":"https://api.github.com/users/noirbizarre/followers","following_url":"https://api.github.com/users/noirbizarre/following{/other_user}","gists_url":"https://api.github.com/users/noirbizarre/gists{/gist_id}","starred_url":"https://api.github.com/users/noirbizarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noirbizarre/subscriptions","organizations_url":"https://api.github.com/users/noirbizarre/orgs","repos_url":"https://api.github.com/users/noirbizarre/repos","events_url":"https://api.github.com/users/noirbizarre/events{/privacy}","received_events_url":"https://api.github.com/users/noirbizarre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noirbizarre/udata","description":"Social data platform","fork":true,"url":"https://api.github.com/repos/noirbizarre/udata","forks_url":"https://api.github.com/repos/noirbizarre/udata/forks","keys_url":"https://api.github.com/repos/noirbizarre/udata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noirbizarre/udata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noirbizarre/udata/teams","hooks_url":"https://api.github.com/repos/noirbizarre/udata/hooks","issue_events_url":"https://api.github.com/repos/noirbizarre/udata/issues/events{/number}","events_url":"https://api.github.com/repos/noirbizarre/udata/events","assignees_url":"https://api.github.com/repos/noirbizarre/udata/assignees{/user}","branches_url":"https://api.github.com/repos/noirbizarre/udata/branches{/branch}","tags_url":"https://api.github.com/repos/noirbizarre/udata/tags","blobs_url":"https://api.github.com/repos/noirbizarre/udata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noirbizarre/udata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noirbizarre/udata/git/refs{/sha}","trees_url":"https://api.github.com/repos/noirbizarre/udata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noirbizarre/udata/statuses/{sha}","languages_url":"https://api.github.com/repos/noirbizarre/udata/languages","stargazers_url":"https://api.github.com/repos/noirbizarre/udata/stargazers","contributors_url":"https://api.github.com/repos/noirbizarre/udata/contributors","subscribers_url":"https://api.github.com/repos/noirbizarre/udata/subscribers","subscription_url":"https://api.github.com/repos/noirbizarre/udata/subscription","commits_url":"https://api.github.com/repos/noirbizarre/udata/commits{/sha}","git_commits_url":"https://api.github.com/repos/noirbizarre/udata/git/commits{/sha}","comments_url":"https://api.github.com/repos/noirbizarre/udata/comments{/number}","issue_comment_url":"https://api.github.com/repos/noirbizarre/udata/issues/comments{/number}","contents_url":"https://api.github.com/repos/noirbizarre/udata/contents/{+path}","compare_url":"https://api.github.com/repos/noirbizarre/udata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noirbizarre/udata/merges","archive_url":"https://api.github.com/repos/noirbizarre/udata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noirbizarre/udata/downloads","issues_url":"https://api.github.com/repos/noirbizarre/udata/issues{/number}","pulls_url":"https://api.github.com/repos/noirbizarre/udata/pulls{/number}","milestones_url":"https://api.github.com/repos/noirbizarre/udata/milestones{/number}","notifications_url":"https://api.github.com/repos/noirbizarre/udata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noirbizarre/udata/labels{/name}","releases_url":"https://api.github.com/repos/noirbizarre/udata/releases{/id}","deployments_url":"https://api.github.com/repos/noirbizarre/udata/deployments","created_at":"2015-10-29T13:15:39Z","updated_at":"2016-05-17T14:50:39Z","pushed_at":"2016-10-05T12:35:10Z","git_url":"git://github.com/noirbizarre/udata.git","ssh_url":"git@github.com:noirbizarre/udata.git","clone_url":"https://github.com/noirbizarre/udata.git","svn_url":"https://github.com/noirbizarre/udata","homepage":null,"size":7483,"stargazers_count":0,"watchers_count":0,"language":"Python","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":0,"default_branch":"master"}},"base":{"label":"opendatateam:master","ref":"master","sha":"953e38ab86c001253154511f5afa32b919b9d47b","user":{"login":"opendatateam","id":19330690,"avatar_url":"https://avatars.githubusercontent.com/u/19330690?v=3","gravatar_id":"","url":"https://api.github.com/users/opendatateam","html_url":"https://github.com/opendatateam","followers_url":"https://api.github.com/users/opendatateam/followers","following_url":"https://api.github.com/users/opendatateam/following{/other_user}","gists_url":"https://api.github.com/users/opendatateam/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatateam/subscriptions","organizations_url":"https://api.github.com/users/opendatateam/orgs","repos_url":"https://api.github.com/users/opendatateam/repos","events_url":"https://api.github.com/users/opendatateam/events{/privacy}","received_events_url":"https://api.github.com/users/opendatateam/received_events","type":"Organization","site_admin":false},"repo":{"id":19141754,"name":"udata","full_name":"opendatateam/udata","owner":{"login":"opendatateam","id":19330690,"avatar_url":"https://avatars.githubusercontent.com/u/19330690?v=3","gravatar_id":"","url":"https://api.github.com/users/opendatateam","html_url":"https://github.com/opendatateam","followers_url":"https://api.github.com/users/opendatateam/followers","following_url":"https://api.github.com/users/opendatateam/following{/other_user}","gists_url":"https://api.github.com/users/opendatateam/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatateam/subscriptions","organizations_url":"https://api.github.com/users/opendatateam/orgs","repos_url":"https://api.github.com/users/opendatateam/repos","events_url":"https://api.github.com/users/opendatateam/events{/privacy}","received_events_url":"https://api.github.com/users/opendatateam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opendatateam/udata","description":"Customizable and skinnable social platform dedicated to (open)data.","fork":false,"url":"https://api.github.com/repos/opendatateam/udata","forks_url":"https://api.github.com/repos/opendatateam/udata/forks","keys_url":"https://api.github.com/repos/opendatateam/udata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opendatateam/udata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opendatateam/udata/teams","hooks_url":"https://api.github.com/repos/opendatateam/udata/hooks","issue_events_url":"https://api.github.com/repos/opendatateam/udata/issues/events{/number}","events_url":"https://api.github.com/repos/opendatateam/udata/events","assignees_url":"https://api.github.com/repos/opendatateam/udata/assignees{/user}","branches_url":"https://api.github.com/repos/opendatateam/udata/branches{/branch}","tags_url":"https://api.github.com/repos/opendatateam/udata/tags","blobs_url":"https://api.github.com/repos/opendatateam/udata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opendatateam/udata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opendatateam/udata/git/refs{/sha}","trees_url":"https://api.github.com/repos/opendatateam/udata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opendatateam/udata/statuses/{sha}","languages_url":"https://api.github.com/repos/opendatateam/udata/languages","stargazers_url":"https://api.github.com/repos/opendatateam/udata/stargazers","contributors_url":"https://api.github.com/repos/opendatateam/udata/contributors","subscribers_url":"https://api.github.com/repos/opendatateam/udata/subscribers","subscription_url":"https://api.github.com/repos/opendatateam/udata/subscription","commits_url":"https://api.github.com/repos/opendatateam/udata/commits{/sha}","git_commits_url":"https://api.github.com/repos/opendatateam/udata/git/commits{/sha}","comments_url":"https://api.github.com/repos/opendatateam/udata/comments{/number}","issue_comment_url":"https://api.github.com/repos/opendatateam/udata/issues/comments{/number}","contents_url":"https://api.github.com/repos/opendatateam/udata/contents/{+path}","compare_url":"https://api.github.com/repos/opendatateam/udata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opendatateam/udata/merges","archive_url":"https://api.github.com/repos/opendatateam/udata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opendatateam/udata/downloads","issues_url":"https://api.github.com/repos/opendatateam/udata/issues{/number}","pulls_url":"https://api.github.com/repos/opendatateam/udata/pulls{/number}","milestones_url":"https://api.github.com/repos/opendatateam/udata/milestones{/number}","notifications_url":"https://api.github.com/repos/opendatateam/udata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opendatateam/udata/labels{/name}","releases_url":"https://api.github.com/repos/opendatateam/udata/releases{/id}","deployments_url":"https://api.github.com/repos/opendatateam/udata/deployments","created_at":"2014-04-25T09:57:34Z","updated_at":"2016-09-19T21:47:33Z","pushed_at":"2016-10-05T12:36:06Z","git_url":"git://github.com/opendatateam/udata.git","ssh_url":"git@github.com:opendatateam/udata.git","clone_url":"https://github.com/opendatateam/udata.git","svn_url":"https://github.com/opendatateam/udata","homepage":"http://udata.readthedocs.org","size":7817,"stargazers_count":43,"watchers_count":43,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":39,"forks":21,"open_issues":39,"watchers":43,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opendatateam/udata/pulls/550"},"html":{"href":"https://github.com/opendatateam/udata/pull/550"},"issue":{"href":"https://api.github.com/repos/opendatateam/udata/issues/550"},"comments":{"href":"https://api.github.com/repos/opendatateam/udata/issues/550/comments"},"review_comments":{"href":"https://api.github.com/repos/opendatateam/udata/pulls/550/comments"},"review_comment":{"href":"https://api.github.com/repos/opendatateam/udata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opendatateam/udata/pulls/550/commits"},"statuses":{"href":"https://api.github.com/repos/opendatateam/udata/statuses/c7fad5662a8c9f1dbd295f74e6f70891e05a991d"}}}}
{"actor":{"display_login":"noirbizarre"}}