Reset the privacy permissions (Command Line)
sudo tccutil reset All
This resets the security on all apps. You’ll get dialogs asking you to confirm whether some app can control some other app each time it happens. Can be annoying, so only do it when you really need to.