{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/128906088","pull_request_review_id":51631722,"id":128906088,"diff_hunk":"@@ -2,6 +2,7 @@\n from marshmallow_jsonapi.flask import Schema, Relationship\n from marshmallow_jsonapi import fields\n \n+from app.api.helpers.permission_manager import has_access","path":"app/api/attendees.py","position":4,"original_position":4,"commit_id":"a32dd48140935b3df2f6951097d5ffb1603f4c53","original_commit_id":"a32dd48140935b3df2f6951097d5ffb1603f4c53","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'app.api.helpers.permission_manager.has_access' imported but unused","created_at":"2017-07-22T22:19:41Z","updated_at":"2017-07-22T22:19:41Z","html_url":"https://github.com/fossasia/open-event-orga-server/pull/4141#discussion_r128906088","pull_request_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/128906088"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/4141#discussion_r128906088"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141","id":131914644,"html_url":"https://github.com/fossasia/open-event-orga-server/pull/4141","diff_url":"https://github.com/fossasia/open-event-orga-server/pull/4141.diff","patch_url":"https://github.com/fossasia/open-event-orga-server/pull/4141.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/4141","number":4141,"state":"open","locked":false,"title":"Attendee API: Separate direct resource get and post.","user":{"login":"poush","id":1812082,"avatar_url":"https://avatars0.githubusercontent.com/u/1812082?v=4","gravatar_id":"","url":"https://api.github.com/users/poush","html_url":"https://github.com/poush","followers_url":"https://api.github.com/users/poush/followers","following_url":"https://api.github.com/users/poush/following{/other_user}","gists_url":"https://api.github.com/users/poush/gists{/gist_id}","starred_url":"https://api.github.com/users/poush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poush/subscriptions","organizations_url":"https://api.github.com/users/poush/orgs","repos_url":"https://api.github.com/users/poush/repos","events_url":"https://api.github.com/users/poush/events{/privacy}","received_events_url":"https://api.github.com/users/poush/received_events","type":"User","site_admin":false},"body":"<!--\r\n(Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.)\r\n-->\r\n<!-- Add the issue number that is fixed by this PR (In the form Fixes #123) -->\r\n\r\nFixes #4122 \r\n\r\n#### Checklist\r\n\r\n- [x] I have read the [Contribution & Best practices Guide](https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia) and my PR follows them.\r\n- [x] My branch is up-to-date with the Upstream `nextgen` branch.\r\n- [ ] The unit tests pass locally with my changes <!-- use `nosetests tests/unittests` to run all the tests -->\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n<!-- If an existing function does not have a docstring, please add one -->\r\n- [ ] All the functions created/modified in this PR contain relevant docstrings.\r\n\r\n#### Short description of what this resolves:\r\nSeparates the resources (direct and related) and set required relationships to attendee\r\n\r\n\r\n","created_at":"2017-07-22T22:19:33Z","updated_at":"2017-07-22T22:19:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4926e9c3109831a55eec9185013565f239047c4","assignee":{"login":"poush","id":1812082,"avatar_url":"https://avatars0.githubusercontent.com/u/1812082?v=4","gravatar_id":"","url":"https://api.github.com/users/poush","html_url":"https://github.com/poush","followers_url":"https://api.github.com/users/poush/followers","following_url":"https://api.github.com/users/poush/following{/other_user}","gists_url":"https://api.github.com/users/poush/gists{/gist_id}","starred_url":"https://api.github.com/users/poush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poush/subscriptions","organizations_url":"https://api.github.com/users/poush/orgs","repos_url":"https://api.github.com/users/poush/repos","events_url":"https://api.github.com/users/poush/events{/privacy}","received_events_url":"https://api.github.com/users/poush/received_events","type":"User","site_admin":false},"assignees":[{"login":"poush","id":1812082,"avatar_url":"https://avatars0.githubusercontent.com/u/1812082?v=4","gravatar_id":"","url":"https://api.github.com/users/poush","html_url":"https://github.com/poush","followers_url":"https://api.github.com/users/poush/followers","following_url":"https://api.github.com/users/poush/following{/other_user}","gists_url":"https://api.github.com/users/poush/gists{/gist_id}","starred_url":"https://api.github.com/users/poush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poush/subscriptions","organizations_url":"https://api.github.com/users/poush/orgs","repos_url":"https://api.github.com/users/poush/repos","events_url":"https://api.github.com/users/poush/events{/privacy}","received_events_url":"https://api.github.com/users/poush/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/4141/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/a32dd48140935b3df2f6951097d5ffb1603f4c53","head":{"label":"poush:fix4122","ref":"fix4122","sha":"a32dd48140935b3df2f6951097d5ffb1603f4c53","user":{"login":"poush","id":1812082,"avatar_url":"https://avatars0.githubusercontent.com/u/1812082?v=4","gravatar_id":"","url":"https://api.github.com/users/poush","html_url":"https://github.com/poush","followers_url":"https://api.github.com/users/poush/followers","following_url":"https://api.github.com/users/poush/following{/other_user}","gists_url":"https://api.github.com/users/poush/gists{/gist_id}","starred_url":"https://api.github.com/users/poush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poush/subscriptions","organizations_url":"https://api.github.com/users/poush/orgs","repos_url":"https://api.github.com/users/poush/repos","events_url":"https://api.github.com/users/poush/events{/privacy}","received_events_url":"https://api.github.com/users/poush/received_events","type":"User","site_admin":false},"repo":{"id":70402512,"name":"open-event-orga-server","full_name":"poush/open-event-orga-server","owner":{"login":"poush","id":1812082,"avatar_url":"https://avatars0.githubusercontent.com/u/1812082?v=4","gravatar_id":"","url":"https://api.github.com/users/poush","html_url":"https://github.com/poush","followers_url":"https://api.github.com/users/poush/followers","following_url":"https://api.github.com/users/poush/following{/other_user}","gists_url":"https://api.github.com/users/poush/gists{/gist_id}","starred_url":"https://api.github.com/users/poush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poush/subscriptions","organizations_url":"https://api.github.com/users/poush/orgs","repos_url":"https://api.github.com/users/poush/repos","events_url":"https://api.github.com/users/poush/events{/privacy}","received_events_url":"https://api.github.com/users/poush/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poush/open-event-orga-server","description":"The Open Event Organizer Server to Manage Events","fork":true,"url":"https://api.github.com/repos/poush/open-event-orga-server","forks_url":"https://api.github.com/repos/poush/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/poush/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poush/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poush/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/poush/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/poush/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/poush/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/poush/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/poush/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/poush/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/poush/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poush/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poush/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/poush/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poush/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/poush/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/poush/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/poush/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/poush/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/poush/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/poush/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/poush/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/poush/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/poush/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/poush/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/poush/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poush/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/poush/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poush/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/poush/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/poush/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/poush/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/poush/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poush/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/poush/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/poush/open-event-orga-server/deployments","created_at":"2016-10-09T12:47:10Z","updated_at":"2016-10-09T12:47:12Z","pushed_at":"2017-07-22T18:54:52Z","git_url":"git://github.com/poush/open-event-orga-server.git","ssh_url":"git@github.com:poush/open-event-orga-server.git","clone_url":"https://github.com/poush/open-event-orga-server.git","svn_url":"https://github.com/poush/open-event-orga-server","homepage":"https://open-event-dev.herokuapp.com","size":42688,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"development"}},"base":{"label":"fossasia:nextgen","ref":"nextgen","sha":"96a014a7e821eff616d928fdf48449db3ea0e087","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35270176,"name":"open-event-orga-server","full_name":"fossasia/open-event-orga-server","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-orga-server","description":"The Open Event Organizer Server to Manage Events https://eventyay.com","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-orga-server","forks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/deployments","created_at":"2015-05-08T09:16:19Z","updated_at":"2017-07-20T17:28:11Z","pushed_at":"2017-07-22T22:19:34Z","git_url":"git://github.com/fossasia/open-event-orga-server.git","ssh_url":"git@github.com:fossasia/open-event-orga-server.git","clone_url":"https://github.com/fossasia/open-event-orga-server.git","svn_url":"https://github.com/fossasia/open-event-orga-server","homepage":"https://open-event-dev.herokuapp.com","size":43116,"stargazers_count":306,"watchers_count":306,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":311,"mirror_url":null,"open_issues_count":73,"forks":311,"open_issues":73,"watchers":306,"default_branch":"nextgen"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/4141"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/4141"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/4141/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/4141/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/a32dd48140935b3df2f6951097d5ffb1603f4c53"}}}}
{"actor":{"display_login":"houndci-bot"}}