I need to access Photos library from my process launched by launchd. The problem is that system do not displays approval prompt dialog, just denies access. As this is a commandline tool, I cannot preauhorize it in System Preferences -> Security & Privacy -> Privacy -> Application Data.
According to WWDC 2018 Session 702, a user confirmation dialog should be displayed in this case.
Without that approval dialog and preauthorization I'm not able to access restricted folder in launchd executed process.
Is anyone else experiencing this? How can such a process gain access (with user consent) to restricted folders?
Thanks,
Gergely