Download this app to your desktop
free version: https://play.google.com/store/apps/details?id=rikka.appops
Support non-rooted devices (require Android 6.0+ and adb)
Support Lollipop, Marshmallow, Nougat, and Oreo
Support multi-user and work profile
About non-root usage:
Non-root usage requires another app called Shizuku Manager (https://play.google.com/store/apps/details?id=moe.shizuku.privileged.api&hl=en), the full setup steps are in the description of that app.
Useless, hope it works for you.
Does NOTHING on my rooted LGG5 running LG's Android 7.1.2, with the root option on.
This app requires Shizuku Manager to have any function.
App will work when you follow the "intro" screens, but after that it just crash immediately