{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/16119","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/16119/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/16119/comments","events_url":"https://api.github.com/repos/electron/electron/issues/16119/events","html_url":"https://github.com/electron/electron/pull/16119","id":391983553,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MzU1MTIz","number":16119,"title":"feat: expose app accessibility status api","user":{"login":"codebytere","id":2036040,"node_id":"MDQ6VXNlcjIwMzYwNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/2036040?v=4","gravatar_id":"","url":"https://api.github.com/users/codebytere","html_url":"https://github.com/codebytere","followers_url":"https://api.github.com/users/codebytere/followers","following_url":"https://api.github.com/users/codebytere/following{/other_user}","gists_url":"https://api.github.com/users/codebytere/gists{/gist_id}","starred_url":"https://api.github.com/users/codebytere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebytere/subscriptions","organizations_url":"https://api.github.com/users/codebytere/orgs","repos_url":"https://api.github.com/users/codebytere/repos","events_url":"https://api.github.com/users/codebytere/events{/privacy}","received_events_url":"https://api.github.com/users/codebytere/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-18T03:37:37Z","updated_at":"2018-12-18T15:37:54Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/electron/electron/pulls/16119","html_url":"https://github.com/electron/electron/pull/16119","diff_url":"https://github.com/electron/electron/pull/16119.diff","patch_url":"https://github.com/electron/electron/pull/16119.patch"},"body":"#### Description of Change\r\n\r\nResolves https://github.com/electron/electron/issues/16090.\r\n\r\nExposes an api through System Preferences allowing an app to determine whether or not it's been designated a [trusted accessibility client](https://developer.apple.com/library/archive/documentation/Accessibility/Conceptual/AccessibilityMacOSX/), where that means an app that is allowed to modify the way users interact with their computer.\r\n\r\nThis API takes a prompt argument; if `false` is passed then the result will be returned silently, and if `true` is passed then a dialog (like the one below) will be shown.\r\n\r\n<img width=\"462\" alt=\"screen shot 2018-12-17 at 8 32 33 pm\" src=\"https://user-images.githubusercontent.com/2036040/50130540-52622300-023b-11e9-9223-579141850366.png\">\r\n\r\n/cc @miniak @4ndv\r\n\r\n#### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [x] PR description included and stakeholders cc'd\r\n- [x] `npm test` passes\r\n- [x] relevant documentation is changed or added\r\n- [x] PR title follows semantic [commit guidelines](https://github.com/electron/electron/blob/master/docs/development/pull-requests.md#commit-message-guidelines)\r\n- [x] PR release notes describe the change in a way relevant to app-developers\r\n\r\n#### Release Notes\r\n\r\nNotes: Exposes an API to allow apps to determine their status as a trusted accessibility client.\r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/448262986","html_url":"https://github.com/electron/electron/pull/16119#issuecomment-448262986","issue_url":"https://api.github.com/repos/electron/electron/issues/16119","id":448262986,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODI2Mjk4Ng==","user":{"login":"codebytere","id":2036040,"node_id":"MDQ6VXNlcjIwMzYwNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/2036040?v=4","gravatar_id":"","url":"https://api.github.com/users/codebytere","html_url":"https://github.com/codebytere","followers_url":"https://api.github.com/users/codebytere/followers","following_url":"https://api.github.com/users/codebytere/following{/other_user}","gists_url":"https://api.github.com/users/codebytere/gists{/gist_id}","starred_url":"https://api.github.com/users/codebytere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebytere/subscriptions","organizations_url":"https://api.github.com/users/codebytere/orgs","repos_url":"https://api.github.com/users/codebytere/repos","events_url":"https://api.github.com/users/codebytere/events{/privacy}","received_events_url":"https://api.github.com/users/codebytere/received_events","type":"User","site_admin":true},"created_at":"2018-12-18T15:37:54Z","updated_at":"2018-12-18T15:37:54Z","author_association":"MEMBER","body":"ah ok, i wasn't sure if objc bool literal could be coerced from c++ bools"}}
{"actor":{"display_login":"codebytere"}}