{"action":"closed","number":470,"pull_request":{"url":"https://api.github.com/repos/solidusio/solidus/pulls/470","id":49188910,"html_url":"https://github.com/solidusio/solidus/pull/470","diff_url":"https://github.com/solidusio/solidus/pull/470.diff","patch_url":"https://github.com/solidusio/solidus/pull/470.patch","issue_url":"https://api.github.com/repos/solidusio/solidus/issues/470","number":470,"state":"closed","locked":false,"title":"Tweak stock transfer permissions","user":{"login":"richardnuno","id":2223534,"avatar_url":"https://avatars.githubusercontent.com/u/2223534?v=3","gravatar_id":"","url":"https://api.github.com/users/richardnuno","html_url":"https://github.com/richardnuno","followers_url":"https://api.github.com/users/richardnuno/followers","following_url":"https://api.github.com/users/richardnuno/following{/other_user}","gists_url":"https://api.github.com/users/richardnuno/gists{/gist_id}","starred_url":"https://api.github.com/users/richardnuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardnuno/subscriptions","organizations_url":"https://api.github.com/users/richardnuno/orgs","repos_url":"https://api.github.com/users/richardnuno/repos","events_url":"https://api.github.com/users/richardnuno/events{/privacy}","received_events_url":"https://api.github.com/users/richardnuno/received_events","type":"User","site_admin":false},"body":"Allow a user to manage a stock transfer for a source they don’t have access to when they have access to the destination and the transfer has shipped.\r\n\r\nThis commit also removes the dedicated source_location_ids and destination_location_ids as we’ve found it preferable to customize the CanCan rules by adding more specific rules rather than override the methods that return the stock location ids.","created_at":"2015-10-29T19:35:32Z","updated_at":"2015-11-05T14:18:07Z","closed_at":"2015-11-05T14:18:07Z","merged_at":"2015-11-05T14:18:07Z","merge_commit_sha":"6a50c119ab046e1cf5bfb416ad8bfb89288f0b9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solidusio/solidus/pulls/470/commits","review_comments_url":"https://api.github.com/repos/solidusio/solidus/pulls/470/comments","review_comment_url":"https://api.github.com/repos/solidusio/solidus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solidusio/solidus/issues/470/comments","statuses_url":"https://api.github.com/repos/solidusio/solidus/statuses/f8516328ce4cb713affc5c89767f1a106b9a307b","head":{"label":"richardnuno:cleanup-stock-transfer-permission","ref":"cleanup-stock-transfer-permission","sha":"f8516328ce4cb713affc5c89767f1a106b9a307b","user":{"login":"richardnuno","id":2223534,"avatar_url":"https://avatars.githubusercontent.com/u/2223534?v=3","gravatar_id":"","url":"https://api.github.com/users/richardnuno","html_url":"https://github.com/richardnuno","followers_url":"https://api.github.com/users/richardnuno/followers","following_url":"https://api.github.com/users/richardnuno/following{/other_user}","gists_url":"https://api.github.com/users/richardnuno/gists{/gist_id}","starred_url":"https://api.github.com/users/richardnuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardnuno/subscriptions","organizations_url":"https://api.github.com/users/richardnuno/orgs","repos_url":"https://api.github.com/users/richardnuno/repos","events_url":"https://api.github.com/users/richardnuno/events{/privacy}","received_events_url":"https://api.github.com/users/richardnuno/received_events","type":"User","site_admin":false},"repo":{"id":37918535,"name":"solidus","full_name":"richardnuno/solidus","owner":{"login":"richardnuno","id":2223534,"avatar_url":"https://avatars.githubusercontent.com/u/2223534?v=3","gravatar_id":"","url":"https://api.github.com/users/richardnuno","html_url":"https://github.com/richardnuno","followers_url":"https://api.github.com/users/richardnuno/followers","following_url":"https://api.github.com/users/richardnuno/following{/other_user}","gists_url":"https://api.github.com/users/richardnuno/gists{/gist_id}","starred_url":"https://api.github.com/users/richardnuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardnuno/subscriptions","organizations_url":"https://api.github.com/users/richardnuno/orgs","repos_url":"https://api.github.com/users/richardnuno/repos","events_url":"https://api.github.com/users/richardnuno/events{/privacy}","received_events_url":"https://api.github.com/users/richardnuno/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richardnuno/solidus","description":"Solidus e-commerce system","fork":true,"url":"https://api.github.com/repos/richardnuno/solidus","forks_url":"https://api.github.com/repos/richardnuno/solidus/forks","keys_url":"https://api.github.com/repos/richardnuno/solidus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richardnuno/solidus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richardnuno/solidus/teams","hooks_url":"https://api.github.com/repos/richardnuno/solidus/hooks","issue_events_url":"https://api.github.com/repos/richardnuno/solidus/issues/events{/number}","events_url":"https://api.github.com/repos/richardnuno/solidus/events","assignees_url":"https://api.github.com/repos/richardnuno/solidus/assignees{/user}","branches_url":"https://api.github.com/repos/richardnuno/solidus/branches{/branch}","tags_url":"https://api.github.com/repos/richardnuno/solidus/tags","blobs_url":"https://api.github.com/repos/richardnuno/solidus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richardnuno/solidus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richardnuno/solidus/git/refs{/sha}","trees_url":"https://api.github.com/repos/richardnuno/solidus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richardnuno/solidus/statuses/{sha}","languages_url":"https://api.github.com/repos/richardnuno/solidus/languages","stargazers_url":"https://api.github.com/repos/richardnuno/solidus/stargazers","contributors_url":"https://api.github.com/repos/richardnuno/solidus/contributors","subscribers_url":"https://api.github.com/repos/richardnuno/solidus/subscribers","subscription_url":"https://api.github.com/repos/richardnuno/solidus/subscription","commits_url":"https://api.github.com/repos/richardnuno/solidus/commits{/sha}","git_commits_url":"https://api.github.com/repos/richardnuno/solidus/git/commits{/sha}","comments_url":"https://api.github.com/repos/richardnuno/solidus/comments{/number}","issue_comment_url":"https://api.github.com/repos/richardnuno/solidus/issues/comments{/number}","contents_url":"https://api.github.com/repos/richardnuno/solidus/contents/{+path}","compare_url":"https://api.github.com/repos/richardnuno/solidus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richardnuno/solidus/merges","archive_url":"https://api.github.com/repos/richardnuno/solidus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richardnuno/solidus/downloads","issues_url":"https://api.github.com/repos/richardnuno/solidus/issues{/number}","pulls_url":"https://api.github.com/repos/richardnuno/solidus/pulls{/number}","milestones_url":"https://api.github.com/repos/richardnuno/solidus/milestones{/number}","notifications_url":"https://api.github.com/repos/richardnuno/solidus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richardnuno/solidus/labels{/name}","releases_url":"https://api.github.com/repos/richardnuno/solidus/releases{/id}","created_at":"2015-06-23T12:46:28Z","updated_at":"2015-06-23T12:46:31Z","pushed_at":"2015-11-03T19:34:57Z","git_url":"git://github.com/richardnuno/solidus.git","ssh_url":"git@github.com:richardnuno/solidus.git","clone_url":"https://github.com/richardnuno/solidus.git","svn_url":"https://github.com/richardnuno/solidus","homepage":"","size":64256,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"solidusio:master","ref":"master","sha":"15b1fe42698a6d9c501201a067e10d31dfefebf8","user":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"repo":{"id":30985840,"name":"solidus","full_name":"solidusio/solidus","owner":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solidusio/solidus","description":"Solidus, Rails eCommerce System","fork":false,"url":"https://api.github.com/repos/solidusio/solidus","forks_url":"https://api.github.com/repos/solidusio/solidus/forks","keys_url":"https://api.github.com/repos/solidusio/solidus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solidusio/solidus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solidusio/solidus/teams","hooks_url":"https://api.github.com/repos/solidusio/solidus/hooks","issue_events_url":"https://api.github.com/repos/solidusio/solidus/issues/events{/number}","events_url":"https://api.github.com/repos/solidusio/solidus/events","assignees_url":"https://api.github.com/repos/solidusio/solidus/assignees{/user}","branches_url":"https://api.github.com/repos/solidusio/solidus/branches{/branch}","tags_url":"https://api.github.com/repos/solidusio/solidus/tags","blobs_url":"https://api.github.com/repos/solidusio/solidus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solidusio/solidus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solidusio/solidus/git/refs{/sha}","trees_url":"https://api.github.com/repos/solidusio/solidus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solidusio/solidus/statuses/{sha}","languages_url":"https://api.github.com/repos/solidusio/solidus/languages","stargazers_url":"https://api.github.com/repos/solidusio/solidus/stargazers","contributors_url":"https://api.github.com/repos/solidusio/solidus/contributors","subscribers_url":"https://api.github.com/repos/solidusio/solidus/subscribers","subscription_url":"https://api.github.com/repos/solidusio/solidus/subscription","commits_url":"https://api.github.com/repos/solidusio/solidus/commits{/sha}","git_commits_url":"https://api.github.com/repos/solidusio/solidus/git/commits{/sha}","comments_url":"https://api.github.com/repos/solidusio/solidus/comments{/number}","issue_comment_url":"https://api.github.com/repos/solidusio/solidus/issues/comments{/number}","contents_url":"https://api.github.com/repos/solidusio/solidus/contents/{+path}","compare_url":"https://api.github.com/repos/solidusio/solidus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solidusio/solidus/merges","archive_url":"https://api.github.com/repos/solidusio/solidus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solidusio/solidus/downloads","issues_url":"https://api.github.com/repos/solidusio/solidus/issues{/number}","pulls_url":"https://api.github.com/repos/solidusio/solidus/pulls{/number}","milestones_url":"https://api.github.com/repos/solidusio/solidus/milestones{/number}","notifications_url":"https://api.github.com/repos/solidusio/solidus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solidusio/solidus/labels{/name}","releases_url":"https://api.github.com/repos/solidusio/solidus/releases{/id}","created_at":"2015-02-18T20:41:58Z","updated_at":"2015-11-05T13:55:13Z","pushed_at":"2015-11-05T14:18:07Z","git_url":"git://github.com/solidusio/solidus.git","ssh_url":"git@github.com:solidusio/solidus.git","clone_url":"https://github.com/solidusio/solidus.git","svn_url":"https://github.com/solidusio/solidus","homepage":"http://solidus.io/","size":68047,"stargazers_count":177,"watchers_count":177,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":60,"forks":56,"open_issues":60,"watchers":177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/470"},"html":{"href":"https://github.com/solidusio/solidus/pull/470"},"issue":{"href":"https://api.github.com/repos/solidusio/solidus/issues/470"},"comments":{"href":"https://api.github.com/repos/solidusio/solidus/issues/470/comments"},"review_comments":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/470/comments"},"review_comment":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/470/commits"},"statuses":{"href":"https://api.github.com/repos/solidusio/solidus/statuses/f8516328ce4cb713affc5c89767f1a106b9a307b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"athal7","id":467872,"avatar_url":"https://avatars.githubusercontent.com/u/467872?v=3","gravatar_id":"","url":"https://api.github.com/users/athal7","html_url":"https://github.com/athal7","followers_url":"https://api.github.com/users/athal7/followers","following_url":"https://api.github.com/users/athal7/following{/other_user}","gists_url":"https://api.github.com/users/athal7/gists{/gist_id}","starred_url":"https://api.github.com/users/athal7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athal7/subscriptions","organizations_url":"https://api.github.com/users/athal7/orgs","repos_url":"https://api.github.com/users/athal7/repos","events_url":"https://api.github.com/users/athal7/events{/privacy}","received_events_url":"https://api.github.com/users/athal7/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":106,"deletions":57,"changed_files":2}}