{"action":"opened","issue":{"url":"https://api.github.com/repos/dotancohen/burton/issues/12","labels_url":"https://api.github.com/repos/dotancohen/burton/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/dotancohen/burton/issues/12/comments","events_url":"https://api.github.com/repos/dotancohen/burton/issues/12/events","html_url":"https://github.com/dotancohen/burton/issues/12","id":127082627,"number":12,"title":"Check if user has sudo permissions before trying to run a command.","user":{"login":"dotancohen","id":246144,"avatar_url":"https://avatars.githubusercontent.com/u/246144?v=3","gravatar_id":"","url":"https://api.github.com/users/dotancohen","html_url":"https://github.com/dotancohen","followers_url":"https://api.github.com/users/dotancohen/followers","following_url":"https://api.github.com/users/dotancohen/following{/other_user}","gists_url":"https://api.github.com/users/dotancohen/gists{/gist_id}","starred_url":"https://api.github.com/users/dotancohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotancohen/subscriptions","organizations_url":"https://api.github.com/users/dotancohen/orgs","repos_url":"https://api.github.com/users/dotancohen/repos","events_url":"https://api.github.com/users/dotancohen/events{/privacy}","received_events_url":"https://api.github.com/users/dotancohen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-17T08:54:34Z","updated_at":"2016-01-17T08:54:34Z","closed_at":null,"body":"This page has some good information on the topic:\r\nhttp://superuser.com/questions/553932/how-to-check-if-i-have-sudo-access"}}