{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/11","id":88186768,"html_url":"https://github.com/AleksandrKudashkin/qna/pull/11","diff_url":"https://github.com/AleksandrKudashkin/qna/pull/11.diff","patch_url":"https://github.com/AleksandrKudashkin/qna/pull/11.patch","issue_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/11","number":11,"state":"closed","locked":false,"title":"[#13] Add authorization with CanCanCan","user":{"login":"AleksandrKudashkin","id":11471420,"avatar_url":"https://avatars.githubusercontent.com/u/11471420?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrKudashkin","html_url":"https://github.com/AleksandrKudashkin","followers_url":"https://api.github.com/users/AleksandrKudashkin/followers","following_url":"https://api.github.com/users/AleksandrKudashkin/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrKudashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrKudashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrKudashkin/subscriptions","organizations_url":"https://api.github.com/users/AleksandrKudashkin/orgs","repos_url":"https://api.github.com/users/AleksandrKudashkin/repos","events_url":"https://api.github.com/users/AleksandrKudashkin/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrKudashkin/received_events","type":"User","site_admin":false},"body":"Задание к 13 уроку, авторизация через CanCanCan\r\n\r\n* Add simple authorization\r\n* Add Attachment authorization\r\n* Add best authorization\r\n* Add authorization for voting\r\n* Add authorization_resource to controllers\r\n* Add all the authorization but views\r\n* A little refactoring\r\n* Add authorization check for views","created_at":"2016-10-06T01:45:28Z","updated_at":"2016-10-06T17:22:53Z","closed_at":"2016-10-06T17:22:53Z","merged_at":"2016-10-06T17:22:53Z","merge_commit_sha":"3eb0465dbd96ce7dc553356d2fd4b0c7f5fe2251","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/11/commits","review_comments_url":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/11/comments","review_comment_url":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/11/comments","statuses_url":"https://api.github.com/repos/AleksandrKudashkin/qna/statuses/3eb0465dbd96ce7dc553356d2fd4b0c7f5fe2251","head":{"label":"AleksandrKudashkin:Lesson13","ref":"Lesson13","sha":"3eb0465dbd96ce7dc553356d2fd4b0c7f5fe2251","user":{"login":"AleksandrKudashkin","id":11471420,"avatar_url":"https://avatars.githubusercontent.com/u/11471420?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrKudashkin","html_url":"https://github.com/AleksandrKudashkin","followers_url":"https://api.github.com/users/AleksandrKudashkin/followers","following_url":"https://api.github.com/users/AleksandrKudashkin/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrKudashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrKudashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrKudashkin/subscriptions","organizations_url":"https://api.github.com/users/AleksandrKudashkin/orgs","repos_url":"https://api.github.com/users/AleksandrKudashkin/repos","events_url":"https://api.github.com/users/AleksandrKudashkin/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrKudashkin/received_events","type":"User","site_admin":false},"repo":{"id":37356411,"name":"qna","full_name":"AleksandrKudashkin/qna","owner":{"login":"AleksandrKudashkin","id":11471420,"avatar_url":"https://avatars.githubusercontent.com/u/11471420?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrKudashkin","html_url":"https://github.com/AleksandrKudashkin","followers_url":"https://api.github.com/users/AleksandrKudashkin/followers","following_url":"https://api.github.com/users/AleksandrKudashkin/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrKudashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrKudashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrKudashkin/subscriptions","organizations_url":"https://api.github.com/users/AleksandrKudashkin/orgs","repos_url":"https://api.github.com/users/AleksandrKudashkin/repos","events_url":"https://api.github.com/users/AleksandrKudashkin/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrKudashkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AleksandrKudashkin/qna","description":"A class project for course \"Professional Development with RoR\" at Thinknetica","fork":false,"url":"https://api.github.com/repos/AleksandrKudashkin/qna","forks_url":"https://api.github.com/repos/AleksandrKudashkin/qna/forks","keys_url":"https://api.github.com/repos/AleksandrKudashkin/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AleksandrKudashkin/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AleksandrKudashkin/qna/teams","hooks_url":"https://api.github.com/repos/AleksandrKudashkin/qna/hooks","issue_events_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/events{/number}","events_url":"https://api.github.com/repos/AleksandrKudashkin/qna/events","assignees_url":"https://api.github.com/repos/AleksandrKudashkin/qna/assignees{/user}","branches_url":"https://api.github.com/repos/AleksandrKudashkin/qna/branches{/branch}","tags_url":"https://api.github.com/repos/AleksandrKudashkin/qna/tags","blobs_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AleksandrKudashkin/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/AleksandrKudashkin/qna/languages","stargazers_url":"https://api.github.com/repos/AleksandrKudashkin/qna/stargazers","contributors_url":"https://api.github.com/repos/AleksandrKudashkin/qna/contributors","subscribers_url":"https://api.github.com/repos/AleksandrKudashkin/qna/subscribers","subscription_url":"https://api.github.com/repos/AleksandrKudashkin/qna/subscription","commits_url":"https://api.github.com/repos/AleksandrKudashkin/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/AleksandrKudashkin/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/AleksandrKudashkin/qna/contents/{+path}","compare_url":"https://api.github.com/repos/AleksandrKudashkin/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AleksandrKudashkin/qna/merges","archive_url":"https://api.github.com/repos/AleksandrKudashkin/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AleksandrKudashkin/qna/downloads","issues_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues{/number}","pulls_url":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/AleksandrKudashkin/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/AleksandrKudashkin/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AleksandrKudashkin/qna/labels{/name}","releases_url":"https://api.github.com/repos/AleksandrKudashkin/qna/releases{/id}","deployments_url":"https://api.github.com/repos/AleksandrKudashkin/qna/deployments","created_at":"2015-06-13T03:38:05Z","updated_at":"2016-09-07T15:46:34Z","pushed_at":"2016-10-06T17:22:53Z","git_url":"git://github.com/AleksandrKudashkin/qna.git","ssh_url":"git@github.com:AleksandrKudashkin/qna.git","clone_url":"https://github.com/AleksandrKudashkin/qna.git","svn_url":"https://github.com/AleksandrKudashkin/qna","homepage":"","size":210,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"AleksandrKudashkin:master","ref":"master","sha":"22d0ead457e1387082dc323e7756247a316f5424","user":{"login":"AleksandrKudashkin","id":11471420,"avatar_url":"https://avatars.githubusercontent.com/u/11471420?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrKudashkin","html_url":"https://github.com/AleksandrKudashkin","followers_url":"https://api.github.com/users/AleksandrKudashkin/followers","following_url":"https://api.github.com/users/AleksandrKudashkin/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrKudashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrKudashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrKudashkin/subscriptions","organizations_url":"https://api.github.com/users/AleksandrKudashkin/orgs","repos_url":"https://api.github.com/users/AleksandrKudashkin/repos","events_url":"https://api.github.com/users/AleksandrKudashkin/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrKudashkin/received_events","type":"User","site_admin":false},"repo":{"id":37356411,"name":"qna","full_name":"AleksandrKudashkin/qna","owner":{"login":"AleksandrKudashkin","id":11471420,"avatar_url":"https://avatars.githubusercontent.com/u/11471420?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrKudashkin","html_url":"https://github.com/AleksandrKudashkin","followers_url":"https://api.github.com/users/AleksandrKudashkin/followers","following_url":"https://api.github.com/users/AleksandrKudashkin/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrKudashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrKudashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrKudashkin/subscriptions","organizations_url":"https://api.github.com/users/AleksandrKudashkin/orgs","repos_url":"https://api.github.com/users/AleksandrKudashkin/repos","events_url":"https://api.github.com/users/AleksandrKudashkin/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrKudashkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AleksandrKudashkin/qna","description":"A class project for course \"Professional Development with RoR\" at Thinknetica","fork":false,"url":"https://api.github.com/repos/AleksandrKudashkin/qna","forks_url":"https://api.github.com/repos/AleksandrKudashkin/qna/forks","keys_url":"https://api.github.com/repos/AleksandrKudashkin/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AleksandrKudashkin/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AleksandrKudashkin/qna/teams","hooks_url":"https://api.github.com/repos/AleksandrKudashkin/qna/hooks","issue_events_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/events{/number}","events_url":"https://api.github.com/repos/AleksandrKudashkin/qna/events","assignees_url":"https://api.github.com/repos/AleksandrKudashkin/qna/assignees{/user}","branches_url":"https://api.github.com/repos/AleksandrKudashkin/qna/branches{/branch}","tags_url":"https://api.github.com/repos/AleksandrKudashkin/qna/tags","blobs_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AleksandrKudashkin/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/AleksandrKudashkin/qna/languages","stargazers_url":"https://api.github.com/repos/AleksandrKudashkin/qna/stargazers","contributors_url":"https://api.github.com/repos/AleksandrKudashkin/qna/contributors","subscribers_url":"https://api.github.com/repos/AleksandrKudashkin/qna/subscribers","subscription_url":"https://api.github.com/repos/AleksandrKudashkin/qna/subscription","commits_url":"https://api.github.com/repos/AleksandrKudashkin/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/AleksandrKudashkin/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/AleksandrKudashkin/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/AleksandrKudashkin/qna/contents/{+path}","compare_url":"https://api.github.com/repos/AleksandrKudashkin/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AleksandrKudashkin/qna/merges","archive_url":"https://api.github.com/repos/AleksandrKudashkin/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AleksandrKudashkin/qna/downloads","issues_url":"https://api.github.com/repos/AleksandrKudashkin/qna/issues{/number}","pulls_url":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/AleksandrKudashkin/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/AleksandrKudashkin/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AleksandrKudashkin/qna/labels{/name}","releases_url":"https://api.github.com/repos/AleksandrKudashkin/qna/releases{/id}","deployments_url":"https://api.github.com/repos/AleksandrKudashkin/qna/deployments","created_at":"2015-06-13T03:38:05Z","updated_at":"2016-09-07T15:46:34Z","pushed_at":"2016-10-06T17:22:53Z","git_url":"git://github.com/AleksandrKudashkin/qna.git","ssh_url":"git@github.com:AleksandrKudashkin/qna.git","clone_url":"https://github.com/AleksandrKudashkin/qna.git","svn_url":"https://github.com/AleksandrKudashkin/qna","homepage":"","size":210,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/11"},"html":{"href":"https://github.com/AleksandrKudashkin/qna/pull/11"},"issue":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/11"},"comments":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/AleksandrKudashkin/qna/statuses/3eb0465dbd96ce7dc553356d2fd4b0c7f5fe2251"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"AleksandrKudashkin","id":11471420,"avatar_url":"https://avatars.githubusercontent.com/u/11471420?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksandrKudashkin","html_url":"https://github.com/AleksandrKudashkin","followers_url":"https://api.github.com/users/AleksandrKudashkin/followers","following_url":"https://api.github.com/users/AleksandrKudashkin/following{/other_user}","gists_url":"https://api.github.com/users/AleksandrKudashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksandrKudashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksandrKudashkin/subscriptions","organizations_url":"https://api.github.com/users/AleksandrKudashkin/orgs","repos_url":"https://api.github.com/users/AleksandrKudashkin/repos","events_url":"https://api.github.com/users/AleksandrKudashkin/events{/privacy}","received_events_url":"https://api.github.com/users/AleksandrKudashkin/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":2,"additions":202,"deletions":19,"changed_files":18}}
{"actor":{"display_login":"AleksandrKudashkin"}}