Unfortunately the video doesn't help, although I learned, that the easiest solution would be pre-approval of the app by the user in the system settings. To find a solution for the best user exoerience, I tried to use the scripting bridge, that we already use in our app. Unfortunately, the scripting bridge doesn't work any more in our app.
Here is a ver simple example:
SBApplication *mail = [SBApplication applicationWithBundleIdentifier:bundleId];
SBElementArray *selection = [mail valueForKey:@"selection"];
It doesn't work for the Preview app either, if our app asked for the open and visible document.
Until High Sierra we used the entitlement com.apple.security.temporary-exception.apple-events with an array of the bundle identifers. For Mojave we activated Apple Events in the Hardened Runtime capabalities. I realized, that com.apple.security.automation.apple-events appears in the entitlements now.
Maybe some business logic is mossing. Unfortunately I don't understand slides 25ff of the linked lecture. It's clear on the conceptual level, but not, what we have to implement, to make this working.