{"action":"created","issue":{"url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer/issues/382","repository_url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer","labels_url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer/issues/382/comments","events_url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer/issues/382/events","html_url":"https://github.com/scrutinizer-ci/scrutinizer/issues/382","id":153188492,"number":382,"title":"Granular permissions","user":{"login":"theofidry","id":5175937,"avatar_url":"https://avatars.githubusercontent.com/u/5175937?v=3","gravatar_id":"","url":"https://api.github.com/users/theofidry","html_url":"https://github.com/theofidry","followers_url":"https://api.github.com/users/theofidry/followers","following_url":"https://api.github.com/users/theofidry/following{/other_user}","gists_url":"https://api.github.com/users/theofidry/gists{/gist_id}","starred_url":"https://api.github.com/users/theofidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theofidry/subscriptions","organizations_url":"https://api.github.com/users/theofidry/orgs","repos_url":"https://api.github.com/users/theofidry/repos","events_url":"https://api.github.com/users/theofidry/events{/privacy}","received_events_url":"https://api.github.com/users/theofidry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-05T08:17:02Z","updated_at":"2016-05-09T09:27:06Z","closed_at":null,"body":"As of now for setting a new repository, when you want to add a repository to Scrutinizer, it requires admin access to all our repositories. It's quite scary and overkill: giving admin access to a third-party service is no trifling matter and pause some security issues.\r\n\r\nWould it be possible to fix that? Why does it even requires a *write* access? Wouldn't read access be enough?"},"comment":{"url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer/issues/comments/217817398","html_url":"https://github.com/scrutinizer-ci/scrutinizer/issues/382#issuecomment-217817398","issue_url":"https://api.github.com/repos/scrutinizer-ci/scrutinizer/issues/382","id":217817398,"user":{"login":"schmittjoh","id":197017,"avatar_url":"https://avatars.githubusercontent.com/u/197017?v=3","gravatar_id":"","url":"https://api.github.com/users/schmittjoh","html_url":"https://github.com/schmittjoh","followers_url":"https://api.github.com/users/schmittjoh/followers","following_url":"https://api.github.com/users/schmittjoh/following{/other_user}","gists_url":"https://api.github.com/users/schmittjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/schmittjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmittjoh/subscriptions","organizations_url":"https://api.github.com/users/schmittjoh/orgs","repos_url":"https://api.github.com/users/schmittjoh/repos","events_url":"https://api.github.com/users/schmittjoh/events{/privacy}","received_events_url":"https://api.github.com/users/schmittjoh/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T09:27:06Z","updated_at":"2016-05-09T09:27:06Z","body":"@Seldaek, wow, you found this one fast :) I'll put someone on this to review if we can change it easily. I just don't want to break stuff for existing customers.\r\n\r\n@theofidry, I assume you were referring to private repositories? For those, GitHub provides no way to request read-only access unfortunately (we would be happy with that), it's also not possible to request access to just a few repositories. If we are missing something here, please let me know."}}