{"action":"created","issue":{"url":"https://api.github.com/repos/rockymeza/wifi/issues/66","labels_url":"https://api.github.com/repos/rockymeza/wifi/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/rockymeza/wifi/issues/66/comments","events_url":"https://api.github.com/repos/rockymeza/wifi/issues/66/events","html_url":"https://github.com/rockymeza/wifi/pull/66","id":74032524,"number":66,"title":"Add sudo argument to Cell.all","user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-07T15:44:14Z","updated_at":"2015-05-12T12:10:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rockymeza/wifi/pulls/66","html_url":"https://github.com/rockymeza/wifi/pull/66","diff_url":"https://github.com/rockymeza/wifi/pull/66.diff","patch_url":"https://github.com/rockymeza/wifi/pull/66.patch"},"body":"A user must have root access to list interfaces, but we don't\r\nwant to run python as root, which would be a big security issue.\r\nSo this PR allows to only give sudo access to `iwlist` to the user\r\nrunning python.\r\n\r\nI haven't see any unittests on `Cell.all` so I haven't added any. If I missed\r\nsomething, please point me to it :)\r\n\r\ncc @ametaireau"},"comment":{"url":"https://api.github.com/repos/rockymeza/wifi/issues/comments/101253542","html_url":"https://github.com/rockymeza/wifi/pull/66#issuecomment-101253542","issue_url":"https://api.github.com/repos/rockymeza/wifi/issues/66","id":101253542,"user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T12:10:22Z","updated_at":"2015-05-12T12:10:22Z","body":"OK, I'll update my PR this way. :)\r\n@rockymeza adding `sudo` kwarg to all those method sounds ok for you?"}}