{"action":"created","issue":{"url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/24","labels_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/24/comments","events_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/24/events","html_url":"https://github.com/raccoongang/socraticqs2/pull/24","id":116571231,"number":24,"title":"Internal PR [Improve PartialAction View]","user":{"login":"vz10","id":2685523,"avatar_url":"https://avatars.githubusercontent.com/u/2685523?v=3","gravatar_id":"","url":"https://api.github.com/users/vz10","html_url":"https://github.com/vz10","followers_url":"https://api.github.com/users/vz10/followers","following_url":"https://api.github.com/users/vz10/following{/other_user}","gists_url":"https://api.github.com/users/vz10/gists{/gist_id}","starred_url":"https://api.github.com/users/vz10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vz10/subscriptions","organizations_url":"https://api.github.com/users/vz10/orgs","repos_url":"https://api.github.com/users/vz10/repos","events_url":"https://api.github.com/users/vz10/events{/privacy}","received_events_url":"https://api.github.com/users/vz10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-12T15:23:13Z","updated_at":"2015-11-13T14:46:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/raccoongang/socraticqs2/pulls/24","html_url":"https://github.com/raccoongang/socraticqs2/pull/24","diff_url":"https://github.com/raccoongang/socraticqs2/pull/24.diff","patch_url":"https://github.com/raccoongang/socraticqs2/pull/24.patch"},"body":"Improve PartialAction View to handle anonymous users on get() and add… @maxsocl @derdmitry \r\nhttps://trello.com/c/jfT8rG7D/256-improve-partialaction-view-to-handle-anonymous-users-on-get-and-add-test-for-this-case"},"comment":{"url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/comments/156451284","html_url":"https://github.com/raccoongang/socraticqs2/pull/24#issuecomment-156451284","issue_url":"https://api.github.com/repos/raccoongang/socraticqs2/issues/24","id":156451284,"user":{"login":"maxsocl","id":877401,"avatar_url":"https://avatars.githubusercontent.com/u/877401?v=3","gravatar_id":"","url":"https://api.github.com/users/maxsocl","html_url":"https://github.com/maxsocl","followers_url":"https://api.github.com/users/maxsocl/followers","following_url":"https://api.github.com/users/maxsocl/following{/other_user}","gists_url":"https://api.github.com/users/maxsocl/gists{/gist_id}","starred_url":"https://api.github.com/users/maxsocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxsocl/subscriptions","organizations_url":"https://api.github.com/users/maxsocl/orgs","repos_url":"https://api.github.com/users/maxsocl/repos","events_url":"https://api.github.com/users/maxsocl/events{/privacy}","received_events_url":"https://api.github.com/users/maxsocl/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T14:46:05Z","updated_at":"2015-11-13T14:46:05Z","body":"Also we need to enhance checking for user authentications in PartialAction.get method like this:\r\n\r\n    def get(self, request, token):\r\n        user = request.user\r\n        if user.is_authenticated() and not user.groups.filter(name='Temporary').exists():\r\n            something logic\r\n\r\nAnd accordingly we need to change some tests - we need to manually login as a regular user."}}