{"action":"opened","number":1477,"pull_request":{"url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1477","id":193482788,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDgyNzg4","html_url":"https://github.com/ga4gh/dockstore/pull/1477","diff_url":"https://github.com/ga4gh/dockstore/pull/1477.diff","patch_url":"https://github.com/ga4gh/dockstore/pull/1477.patch","issue_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1477","number":1477,"state":"open","locked":false,"title":"WIP: Start sharing implementation","user":{"login":"coverbeck","id":1049340,"node_id":"MDQ6VXNlcjEwNDkzNDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1049340?v=4","gravatar_id":"","url":"https://api.github.com/users/coverbeck","html_url":"https://github.com/coverbeck","followers_url":"https://api.github.com/users/coverbeck/followers","following_url":"https://api.github.com/users/coverbeck/following{/other_user}","gists_url":"https://api.github.com/users/coverbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/coverbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coverbeck/subscriptions","organizations_url":"https://api.github.com/users/coverbeck/orgs","repos_url":"https://api.github.com/users/coverbeck/repos","events_url":"https://api.github.com/users/coverbeck/events{/privacy}","received_events_url":"https://api.github.com/users/coverbeck/received_events","type":"User","site_admin":false},"body":"This is a WIP; looking for some feedback and discussion. Some random thoughts and notes:\r\n\r\n* There is the case of a FireCloud user calling Dockstore with a Google token, where the user hasn't registered with Dockstore. This currently won't work, as `SimpleAuthenticator:authenticate()` always looks up an existing user.\r\n* Need an endpoint to indicate if a user could share a workflow.  I considered updating the User metadata object to have this, but that seems to all come from a database, and the second item below needs to be determined dynamically:\r\n   1. Must be signed in with or have account linked to Google.\r\n   2. Must have the account registered with SAM (we could do this for the user, but I don't think we should).\r\n    3. Must be a hosted workflow.\r\n* Not sure if some of this could have implemented with annotations.\r\n* It may not be necessary to have both Roles and Actions.","created_at":"2018-06-08T00:44:48Z","updated_at":"2018-06-08T00:44:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1477/commits","review_comments_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1477/comments","review_comment_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1477/comments","statuses_url":"https://api.github.com/repos/ga4gh/dockstore/statuses/7ae605cc5b37bd81e1075cb7f188dfd34189ad08","head":{"label":"ga4gh:feature/1384/permissions","ref":"feature/1384/permissions","sha":"7ae605cc5b37bd81e1075cb7f188dfd34189ad08","user":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":33383826,"node_id":"MDEwOlJlcG9zaXRvcnkzMzM4MzgyNg==","name":"dockstore","full_name":"ga4gh/dockstore","owner":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/dockstore","description":"Our VM/Docker sharing infrastructure and management component","fork":false,"url":"https://api.github.com/repos/ga4gh/dockstore","forks_url":"https://api.github.com/repos/ga4gh/dockstore/forks","keys_url":"https://api.github.com/repos/ga4gh/dockstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/dockstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/dockstore/teams","hooks_url":"https://api.github.com/repos/ga4gh/dockstore/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/dockstore/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/dockstore/events","assignees_url":"https://api.github.com/repos/ga4gh/dockstore/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/dockstore/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/dockstore/tags","blobs_url":"https://api.github.com/repos/ga4gh/dockstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/dockstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/dockstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/dockstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/dockstore/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/dockstore/languages","stargazers_url":"https://api.github.com/repos/ga4gh/dockstore/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/dockstore/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/dockstore/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/dockstore/subscription","commits_url":"https://api.github.com/repos/ga4gh/dockstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/dockstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/dockstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/dockstore/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/dockstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/dockstore/merges","archive_url":"https://api.github.com/repos/ga4gh/dockstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/dockstore/downloads","issues_url":"https://api.github.com/repos/ga4gh/dockstore/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/dockstore/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/dockstore/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/dockstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/dockstore/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/dockstore/releases{/id}","deployments_url":"https://api.github.com/repos/ga4gh/dockstore/deployments","created_at":"2015-04-03T21:34:05Z","updated_at":"2018-06-06T02:22:55Z","pushed_at":"2018-06-08T00:28:45Z","git_url":"git://github.com/ga4gh/dockstore.git","ssh_url":"git@github.com:ga4gh/dockstore.git","clone_url":"https://github.com/ga4gh/dockstore.git","svn_url":"https://github.com/ga4gh/dockstore","homepage":"https://dockstore.org/","size":18254,"stargazers_count":49,"watchers_count":49,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":308,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":308,"watchers":49,"default_branch":"develop"}},"base":{"label":"ga4gh:develop","ref":"develop","sha":"bff2eed271bd28e0f6daf9e792aa1931993d9f39","user":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":33383826,"node_id":"MDEwOlJlcG9zaXRvcnkzMzM4MzgyNg==","name":"dockstore","full_name":"ga4gh/dockstore","owner":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/dockstore","description":"Our VM/Docker sharing infrastructure and management component","fork":false,"url":"https://api.github.com/repos/ga4gh/dockstore","forks_url":"https://api.github.com/repos/ga4gh/dockstore/forks","keys_url":"https://api.github.com/repos/ga4gh/dockstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/dockstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/dockstore/teams","hooks_url":"https://api.github.com/repos/ga4gh/dockstore/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/dockstore/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/dockstore/events","assignees_url":"https://api.github.com/repos/ga4gh/dockstore/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/dockstore/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/dockstore/tags","blobs_url":"https://api.github.com/repos/ga4gh/dockstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/dockstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/dockstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/dockstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/dockstore/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/dockstore/languages","stargazers_url":"https://api.github.com/repos/ga4gh/dockstore/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/dockstore/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/dockstore/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/dockstore/subscription","commits_url":"https://api.github.com/repos/ga4gh/dockstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/dockstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/dockstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/dockstore/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/dockstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/dockstore/merges","archive_url":"https://api.github.com/repos/ga4gh/dockstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/dockstore/downloads","issues_url":"https://api.github.com/repos/ga4gh/dockstore/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/dockstore/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/dockstore/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/dockstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/dockstore/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/dockstore/releases{/id}","deployments_url":"https://api.github.com/repos/ga4gh/dockstore/deployments","created_at":"2015-04-03T21:34:05Z","updated_at":"2018-06-06T02:22:55Z","pushed_at":"2018-06-08T00:28:45Z","git_url":"git://github.com/ga4gh/dockstore.git","ssh_url":"git@github.com:ga4gh/dockstore.git","clone_url":"https://github.com/ga4gh/dockstore.git","svn_url":"https://github.com/ga4gh/dockstore","homepage":"https://dockstore.org/","size":18254,"stargazers_count":49,"watchers_count":49,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":308,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":308,"watchers":49,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1477"},"html":{"href":"https://github.com/ga4gh/dockstore/pull/1477"},"issue":{"href":"https://api.github.com/repos/ga4gh/dockstore/issues/1477"},"comments":{"href":"https://api.github.com/repos/ga4gh/dockstore/issues/1477/comments"},"review_comments":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1477/comments"},"review_comment":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1477/commits"},"statuses":{"href":"https://api.github.com/repos/ga4gh/dockstore/statuses/7ae605cc5b37bd81e1075cb7f188dfd34189ad08"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1994,"deletions":29,"changed_files":28}}
{"actor":{"display_login":"coverbeck"}}