{"action":"created","comment":{"url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/comments/70118951","id":70118951,"diff_hunk":"@@ -137,3 +137,7 @@ def package_acquired(context, data_dict):\n def acquisitions_list(context, data_dict):\n     # Users can get only their acquisitions list\n     return {'success': context['user'] == data_dict['user']}\n+\n+def  package_deleted(context, data_dict):\n+    # TODO: Check functionality and improve security(if needed)","path":"ckanext/privatedatasets/auth.py","position":6,"original_position":6,"commit_id":"3825df9d508273593abeb2bcbd0097549038e1b1","original_commit_id":"3825df9d508273593abeb2bcbd0097549038e1b1","user":{"login":"aitormagan","id":2526562,"avatar_url":"https://avatars.githubusercontent.com/u/2526562?v=3","gravatar_id":"","url":"https://api.github.com/users/aitormagan","html_url":"https://github.com/aitormagan","followers_url":"https://api.github.com/users/aitormagan/followers","following_url":"https://api.github.com/users/aitormagan/following{/other_user}","gists_url":"https://api.github.com/users/aitormagan/gists{/gist_id}","starred_url":"https://api.github.com/users/aitormagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitormagan/subscriptions","organizations_url":"https://api.github.com/users/aitormagan/orgs","repos_url":"https://api.github.com/users/aitormagan/repos","events_url":"https://api.github.com/users/aitormagan/events{/privacy}","received_events_url":"https://api.github.com/users/aitormagan/received_events","type":"User","site_admin":false},"body":"Check the functionality and the security before creating the PR","created_at":"2016-07-08T18:26:20Z","updated_at":"2016-07-08T18:26:20Z","html_url":"https://github.com/conwetlab/ckanext-privatedatasets/pull/37#discussion_r70118951","pull_request_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/comments/70118951"},"html":{"href":"https://github.com/conwetlab/ckanext-privatedatasets/pull/37#discussion_r70118951"},"pull_request":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37","id":76573077,"html_url":"https://github.com/conwetlab/ckanext-privatedatasets/pull/37","diff_url":"https://github.com/conwetlab/ckanext-privatedatasets/pull/37.diff","patch_url":"https://github.com/conwetlab/ckanext-privatedatasets/pull/37.patch","issue_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/37","number":37,"state":"open","locked":false,"title":"Delete users from private datasets","user":{"login":"Cazaril","id":7849579,"avatar_url":"https://avatars.githubusercontent.com/u/7849579?v=3","gravatar_id":"","url":"https://api.github.com/users/Cazaril","html_url":"https://github.com/Cazaril","followers_url":"https://api.github.com/users/Cazaril/followers","following_url":"https://api.github.com/users/Cazaril/following{/other_user}","gists_url":"https://api.github.com/users/Cazaril/gists{/gist_id}","starred_url":"https://api.github.com/users/Cazaril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cazaril/subscriptions","organizations_url":"https://api.github.com/users/Cazaril/orgs","repos_url":"https://api.github.com/users/Cazaril/repos","events_url":"https://api.github.com/users/Cazaril/events{/privacy}","received_events_url":"https://api.github.com/users/Cazaril/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-07T10:33:27Z","updated_at":"2016-07-08T18:26:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16818d399489535846d3c507f5e4f2ff8aa85d84","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37/commits","review_comments_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37/comments","review_comment_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/37/comments","statuses_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/statuses/3825df9d508273593abeb2bcbd0097549038e1b1","head":{"label":"Cazaril:develop","ref":"develop","sha":"3825df9d508273593abeb2bcbd0097549038e1b1","user":{"login":"Cazaril","id":7849579,"avatar_url":"https://avatars.githubusercontent.com/u/7849579?v=3","gravatar_id":"","url":"https://api.github.com/users/Cazaril","html_url":"https://github.com/Cazaril","followers_url":"https://api.github.com/users/Cazaril/followers","following_url":"https://api.github.com/users/Cazaril/following{/other_user}","gists_url":"https://api.github.com/users/Cazaril/gists{/gist_id}","starred_url":"https://api.github.com/users/Cazaril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cazaril/subscriptions","organizations_url":"https://api.github.com/users/Cazaril/orgs","repos_url":"https://api.github.com/users/Cazaril/repos","events_url":"https://api.github.com/users/Cazaril/events{/privacy}","received_events_url":"https://api.github.com/users/Cazaril/received_events","type":"User","site_admin":false},"repo":{"id":61796164,"name":"ckanext-privatedatasets","full_name":"Cazaril/ckanext-privatedatasets","owner":{"login":"Cazaril","id":7849579,"avatar_url":"https://avatars.githubusercontent.com/u/7849579?v=3","gravatar_id":"","url":"https://api.github.com/users/Cazaril","html_url":"https://github.com/Cazaril","followers_url":"https://api.github.com/users/Cazaril/followers","following_url":"https://api.github.com/users/Cazaril/following{/other_user}","gists_url":"https://api.github.com/users/Cazaril/gists{/gist_id}","starred_url":"https://api.github.com/users/Cazaril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cazaril/subscriptions","organizations_url":"https://api.github.com/users/Cazaril/orgs","repos_url":"https://api.github.com/users/Cazaril/repos","events_url":"https://api.github.com/users/Cazaril/events{/privacy}","received_events_url":"https://api.github.com/users/Cazaril/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Cazaril/ckanext-privatedatasets","description":"CKAN extension that allows a user to create private datasets only visible to certain users. The extension provides also an API to specify which users can access private datasets","fork":true,"url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets","forks_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/forks","keys_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/teams","hooks_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/hooks","issue_events_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/issues/events{/number}","events_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/events","assignees_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/assignees{/user}","branches_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/branches{/branch}","tags_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/tags","blobs_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/statuses/{sha}","languages_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/languages","stargazers_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/stargazers","contributors_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/contributors","subscribers_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/subscribers","subscription_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/subscription","commits_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/contents/{+path}","compare_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/merges","archive_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/downloads","issues_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/issues{/number}","pulls_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/pulls{/number}","milestones_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/milestones{/number}","notifications_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/labels{/name}","releases_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/releases{/id}","deployments_url":"https://api.github.com/repos/Cazaril/ckanext-privatedatasets/deployments","created_at":"2016-06-23T10:20:31Z","updated_at":"2016-06-23T10:20:32Z","pushed_at":"2016-07-07T12:36:38Z","git_url":"git://github.com/Cazaril/ckanext-privatedatasets.git","ssh_url":"git@github.com:Cazaril/ckanext-privatedatasets.git","clone_url":"https://github.com/Cazaril/ckanext-privatedatasets.git","svn_url":"https://github.com/Cazaril/ckanext-privatedatasets","homepage":null,"size":1331,"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":"conwetlab:develop","ref":"develop","sha":"5a483b798e1b7808fa305a41fa092b50dbf3d1d3","user":{"login":"conwetlab","id":318508,"avatar_url":"https://avatars.githubusercontent.com/u/318508?v=3","gravatar_id":"","url":"https://api.github.com/users/conwetlab","html_url":"https://github.com/conwetlab","followers_url":"https://api.github.com/users/conwetlab/followers","following_url":"https://api.github.com/users/conwetlab/following{/other_user}","gists_url":"https://api.github.com/users/conwetlab/gists{/gist_id}","starred_url":"https://api.github.com/users/conwetlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conwetlab/subscriptions","organizations_url":"https://api.github.com/users/conwetlab/orgs","repos_url":"https://api.github.com/users/conwetlab/repos","events_url":"https://api.github.com/users/conwetlab/events{/privacy}","received_events_url":"https://api.github.com/users/conwetlab/received_events","type":"Organization","site_admin":false},"repo":{"id":21131164,"name":"ckanext-privatedatasets","full_name":"conwetlab/ckanext-privatedatasets","owner":{"login":"conwetlab","id":318508,"avatar_url":"https://avatars.githubusercontent.com/u/318508?v=3","gravatar_id":"","url":"https://api.github.com/users/conwetlab","html_url":"https://github.com/conwetlab","followers_url":"https://api.github.com/users/conwetlab/followers","following_url":"https://api.github.com/users/conwetlab/following{/other_user}","gists_url":"https://api.github.com/users/conwetlab/gists{/gist_id}","starred_url":"https://api.github.com/users/conwetlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conwetlab/subscriptions","organizations_url":"https://api.github.com/users/conwetlab/orgs","repos_url":"https://api.github.com/users/conwetlab/repos","events_url":"https://api.github.com/users/conwetlab/events{/privacy}","received_events_url":"https://api.github.com/users/conwetlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conwetlab/ckanext-privatedatasets","description":"CKAN extension that allows a user to create private datasets only visible to certain users. The extension provides also an API to specify which users can access private datasets","fork":false,"url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets","forks_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/forks","keys_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/teams","hooks_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/hooks","issue_events_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/events{/number}","events_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/events","assignees_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/assignees{/user}","branches_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/branches{/branch}","tags_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/tags","blobs_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/git/refs{/sha}","trees_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/statuses/{sha}","languages_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/languages","stargazers_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/stargazers","contributors_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/contributors","subscribers_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/subscribers","subscription_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/subscription","commits_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/commits{/sha}","git_commits_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/git/commits{/sha}","comments_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/comments{/number}","issue_comment_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/comments{/number}","contents_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/contents/{+path}","compare_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/merges","archive_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/downloads","issues_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues{/number}","pulls_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls{/number}","milestones_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/milestones{/number}","notifications_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/labels{/name}","releases_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/releases{/id}","deployments_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/deployments","created_at":"2014-06-23T15:23:17Z","updated_at":"2016-02-04T01:42:29Z","pushed_at":"2016-07-07T12:36:38Z","git_url":"git://github.com/conwetlab/ckanext-privatedatasets.git","ssh_url":"git@github.com:conwetlab/ckanext-privatedatasets.git","clone_url":"https://github.com/conwetlab/ckanext-privatedatasets.git","svn_url":"https://github.com/conwetlab/ckanext-privatedatasets","homepage":null,"size":1327,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37"},"html":{"href":"https://github.com/conwetlab/ckanext-privatedatasets/pull/37"},"issue":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/37"},"comments":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/statuses/3825df9d508273593abeb2bcbd0097549038e1b1"}}}}
{"actor":{"display_login":"aitormagan"}}