Security -> Automation does not expose APIs to check their status / request permissions

Originator:lustoykov
Number:rdar://42510934 Date Originated:23.07.2018
Status:Open Resolved:
Product:macOS + Foundation Product Version:macOS 10.14 Mojave beta 2
Classification:serious bug Reproducible:Always
 
The Apple Event Sandbox implementation as of macOS 10.14 Mojave beta 2 (18A314h) lacks essential APIs that apps would need to adapt to and provide a good user experience around the change.

---

Issues with current implementation

1) timing: apps don't have sufficient control over when the user is prompted for authorization

2) authorization can't be re-requested. F.ex. in response to a click on an "Authorize" button in an alert stating that the app lacks a permission.

3) lack of context: users lack usage descriptions to inform their decision.

4) apps can’t query if permission has been granted or not

Please provide APIs to request for timing the authorisation (when is prompted), for authorisation to be re-requested, for adjusting the description of the authorisation pop up and for checking if permission has been granted or not.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!