{"action":"created","issue":{"url":"https://api.github.com/repos/blockstack/gaia/issues/142","repository_url":"https://api.github.com/repos/blockstack/gaia","labels_url":"https://api.github.com/repos/blockstack/gaia/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/blockstack/gaia/issues/142/comments","events_url":"https://api.github.com/repos/blockstack/gaia/issues/142/events","html_url":"https://github.com/blockstack/gaia/issues/142","id":354865544,"node_id":"MDU6SXNzdWUzNTQ4NjU1NDQ=","number":142,"title":"Add scoping support to authentication tokens","user":{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false},"labels":[{"id":1038343505,"node_id":"MDU6TGFiZWwxMDM4MzQzNTA1","url":"https://api.github.com/repos/blockstack/gaia/labels/enhancement","name":"enhancement","color":"77efb3","default":true}],"state":"open","locked":false,"assignee":{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false},"assignees":[{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":31,"created_at":"2018-08-28T19:12:57Z","updated_at":"2018-10-31T18:31:54Z","closed_at":null,"author_association":"MEMBER","body":"A question I get a lot is how to allow one user to write to a *limited subset* of another user's Gaia hub.  The way this would be achieved would be to expand Gaia's authentication token to include scopes.  I'm thinking we'd add the following:\r\n\r\n* Scope writes to a particular prefix within the Gaia hub\r\n* Allow writes but not list-files\r\n* ~~Allow list-files but not writes~~\r\n\r\nThoughts? @kantai \r\n\r\nEDIT: authentication token, not association token\r\n\r\nEDIT 2: will not allow list-files without writes, as described below"},"comment":{"url":"https://api.github.com/repos/blockstack/gaia/issues/comments/434799006","html_url":"https://github.com/blockstack/gaia/issues/142#issuecomment-434799006","issue_url":"https://api.github.com/repos/blockstack/gaia/issues/142","id":434799006,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDc5OTAwNg==","user":{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T18:31:54Z","updated_at":"2018-10-31T18:31:54Z","author_association":"MEMBER","body":"Cool!  So can this issue be closed?  Is this all merged in?"}}
{"actor":{"display_login":"jcnelson"}}