{"action":"created","issue":{"url":"https://api.github.com/repos/joemccann/dillinger/issues/328","repository_url":"https://api.github.com/repos/joemccann/dillinger","labels_url":"https://api.github.com/repos/joemccann/dillinger/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/joemccann/dillinger/issues/328/comments","events_url":"https://api.github.com/repos/joemccann/dillinger/issues/328/events","html_url":"https://github.com/joemccann/dillinger/issues/328","id":90344648,"number":328,"title":"Granting Public-only Github repositories access","user":{"login":"rngadam","id":538542,"avatar_url":"https://avatars.githubusercontent.com/u/538542?v=3","gravatar_id":"","url":"https://api.github.com/users/rngadam","html_url":"https://github.com/rngadam","followers_url":"https://api.github.com/users/rngadam/followers","following_url":"https://api.github.com/users/rngadam/following{/other_user}","gists_url":"https://api.github.com/users/rngadam/gists{/gist_id}","starred_url":"https://api.github.com/users/rngadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rngadam/subscriptions","organizations_url":"https://api.github.com/users/rngadam/orgs","repos_url":"https://api.github.com/users/rngadam/repos","events_url":"https://api.github.com/users/rngadam/events{/privacy}","received_events_url":"https://api.github.com/users/rngadam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-23T10:11:00Z","updated_at":"2016-02-06T18:36:21Z","closed_at":null,"body":"Dillinger online editor instance requests Public+Private repositories access, but based on prose.io it is also possible to only grant access to public repositories. Having this option for Dillinger would make it seem \"safer\" to grant third-party app access than to all present and future private repositories.\r\n\r\n![screen shot 2015-06-23 at 6 02 58 pm](https://cloud.githubusercontent.com/assets/538542/8303718/55459868-19d2-11e5-9376-adfe2af9e68b.png)\r\n\r\nI'm able to obtain this behavior manually by changing the authorization URL scope parameter from repo to public_repo\r\n\r\n![screen shot 2015-06-23 at 6 06 47 pm](https://cloud.githubusercontent.com/assets/538542/8303763/c02bf672-19d2-11e5-8620-84e924c48e86.png)\r\n\r\nHowever, when I do Import from > Github > [Organization] > Repository > Branch the list of branches is empty (not sure why). Seems to relate to issue #264"},"comment":{"url":"https://api.github.com/repos/joemccann/dillinger/issues/comments/180831847","html_url":"https://github.com/joemccann/dillinger/issues/328#issuecomment-180831847","issue_url":"https://api.github.com/repos/joemccann/dillinger/issues/328","id":180831847,"user":{"login":"aandis","id":4983347,"avatar_url":"https://avatars.githubusercontent.com/u/4983347?v=3","gravatar_id":"","url":"https://api.github.com/users/aandis","html_url":"https://github.com/aandis","followers_url":"https://api.github.com/users/aandis/followers","following_url":"https://api.github.com/users/aandis/following{/other_user}","gists_url":"https://api.github.com/users/aandis/gists{/gist_id}","starred_url":"https://api.github.com/users/aandis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aandis/subscriptions","organizations_url":"https://api.github.com/users/aandis/orgs","repos_url":"https://api.github.com/users/aandis/repos","events_url":"https://api.github.com/users/aandis/events{/privacy}","received_events_url":"https://api.github.com/users/aandis/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T18:36:21Z","updated_at":"2016-02-06T18:36:21Z","body":"+1"}}