{"action":"closed","number":872,"pull_request":{"url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/872","id":47166305,"html_url":"https://github.com/galaxyproject/galaxy/pull/872","diff_url":"https://github.com/galaxyproject/galaxy/pull/872.diff","patch_url":"https://github.com/galaxyproject/galaxy/pull/872.patch","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/872","number":872,"state":"closed","locked":false,"title":"Expose API keys to admins under REMOTE_USER","user":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"body":"This is the default setting for non-remote-user setups, this commit adjusts the middleware to behave as expected.\r\n\r\nIssue raised in http://dev.list.galaxyproject.org/User-API-keys-with-External-LDAP-authentication-disabled-td4668052.html\r\n\r\n(Tagging bug due to confirmed by two people and this behaviour is the standard, the REMOTE_USER middleware just failed to catch it.)","created_at":"2015-10-08T15:16:56Z","updated_at":"2015-10-08T15:20:35Z","closed_at":"2015-10-08T15:20:35Z","merged_at":"2015-10-08T15:20:35Z","merge_commit_sha":"1d1a70fe58952b6169ffdf9cebb79d7d29345bd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/872/commits","review_comments_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/872/comments","review_comment_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/872/comments","statuses_url":"https://api.github.com/repos/galaxyproject/galaxy/statuses/90fca4f47d762744b88923ff7404157f7027d235","head":{"label":"erasche:api-key-fix","ref":"api-key-fix","sha":"90fca4f47d762744b88923ff7404157f7027d235","user":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"repo":{"id":32467598,"name":"galaxy","full_name":"erasche/galaxy","owner":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erasche/galaxy","description":"Data intensive biology for everyone.","fork":true,"url":"https://api.github.com/repos/erasche/galaxy","forks_url":"https://api.github.com/repos/erasche/galaxy/forks","keys_url":"https://api.github.com/repos/erasche/galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erasche/galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erasche/galaxy/teams","hooks_url":"https://api.github.com/repos/erasche/galaxy/hooks","issue_events_url":"https://api.github.com/repos/erasche/galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/erasche/galaxy/events","assignees_url":"https://api.github.com/repos/erasche/galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/erasche/galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/erasche/galaxy/tags","blobs_url":"https://api.github.com/repos/erasche/galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erasche/galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erasche/galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/erasche/galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erasche/galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/erasche/galaxy/languages","stargazers_url":"https://api.github.com/repos/erasche/galaxy/stargazers","contributors_url":"https://api.github.com/repos/erasche/galaxy/contributors","subscribers_url":"https://api.github.com/repos/erasche/galaxy/subscribers","subscription_url":"https://api.github.com/repos/erasche/galaxy/subscription","commits_url":"https://api.github.com/repos/erasche/galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/erasche/galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/erasche/galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/erasche/galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/erasche/galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/erasche/galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erasche/galaxy/merges","archive_url":"https://api.github.com/repos/erasche/galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erasche/galaxy/downloads","issues_url":"https://api.github.com/repos/erasche/galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/erasche/galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/erasche/galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/erasche/galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erasche/galaxy/labels{/name}","releases_url":"https://api.github.com/repos/erasche/galaxy/releases{/id}","created_at":"2015-03-18T15:37:04Z","updated_at":"2015-05-07T16:22:05Z","pushed_at":"2015-10-08T15:15:21Z","git_url":"git://github.com/erasche/galaxy.git","ssh_url":"git@github.com:erasche/galaxy.git","clone_url":"https://github.com/erasche/galaxy.git","svn_url":"https://github.com/erasche/galaxy","homepage":"http://galaxyproject.org/","size":61266,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"dev"}},"base":{"label":"galaxyproject:dev","ref":"dev","sha":"5b93a66fae521726dffb9fb4712a07dfb14788ad","user":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"repo":{"id":31211061,"name":"galaxy","full_name":"galaxyproject/galaxy","owner":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/galaxyproject/galaxy","description":"Data intensive biology for everyone.","fork":false,"url":"https://api.github.com/repos/galaxyproject/galaxy","forks_url":"https://api.github.com/repos/galaxyproject/galaxy/forks","keys_url":"https://api.github.com/repos/galaxyproject/galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galaxyproject/galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galaxyproject/galaxy/teams","hooks_url":"https://api.github.com/repos/galaxyproject/galaxy/hooks","issue_events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/galaxyproject/galaxy/events","assignees_url":"https://api.github.com/repos/galaxyproject/galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/galaxyproject/galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/galaxyproject/galaxy/tags","blobs_url":"https://api.github.com/repos/galaxyproject/galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galaxyproject/galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galaxyproject/galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/galaxyproject/galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galaxyproject/galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/galaxyproject/galaxy/languages","stargazers_url":"https://api.github.com/repos/galaxyproject/galaxy/stargazers","contributors_url":"https://api.github.com/repos/galaxyproject/galaxy/contributors","subscribers_url":"https://api.github.com/repos/galaxyproject/galaxy/subscribers","subscription_url":"https://api.github.com/repos/galaxyproject/galaxy/subscription","commits_url":"https://api.github.com/repos/galaxyproject/galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/galaxyproject/galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/galaxyproject/galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/galaxyproject/galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galaxyproject/galaxy/merges","archive_url":"https://api.github.com/repos/galaxyproject/galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galaxyproject/galaxy/downloads","issues_url":"https://api.github.com/repos/galaxyproject/galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/galaxyproject/galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/galaxyproject/galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/labels{/name}","releases_url":"https://api.github.com/repos/galaxyproject/galaxy/releases{/id}","created_at":"2015-02-23T14:18:06Z","updated_at":"2015-10-07T07:57:24Z","pushed_at":"2015-10-08T15:20:35Z","git_url":"git://github.com/galaxyproject/galaxy.git","ssh_url":"git@github.com:galaxyproject/galaxy.git","clone_url":"https://github.com/galaxyproject/galaxy.git","svn_url":"https://github.com/galaxyproject/galaxy","homepage":"http://galaxyproject.org/","size":90201,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":93,"forks":123,"open_issues":93,"watchers":71,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/872"},"html":{"href":"https://github.com/galaxyproject/galaxy/pull/872"},"issue":{"href":"https://api.github.com/repos/galaxyproject/galaxy/issues/872"},"comments":{"href":"https://api.github.com/repos/galaxyproject/galaxy/issues/872/comments"},"review_comments":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/872/comments"},"review_comment":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/872/commits"},"statuses":{"href":"https://api.github.com/repos/galaxyproject/galaxy/statuses/90fca4f47d762744b88923ff7404157f7027d235"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dannon","id":155398,"avatar_url":"https://avatars.githubusercontent.com/u/155398?v=3","gravatar_id":"","url":"https://api.github.com/users/dannon","html_url":"https://github.com/dannon","followers_url":"https://api.github.com/users/dannon/followers","following_url":"https://api.github.com/users/dannon/following{/other_user}","gists_url":"https://api.github.com/users/dannon/gists{/gist_id}","starred_url":"https://api.github.com/users/dannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannon/subscriptions","organizations_url":"https://api.github.com/users/dannon/orgs","repos_url":"https://api.github.com/users/dannon/repos","events_url":"https://api.github.com/users/dannon/events{/privacy}","received_events_url":"https://api.github.com/users/dannon/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}