mg5077 Which app are you trying to grant access to? You can try granting it this way
adb shell cmd appops set <packageName> <permission> allow
Instead, (If your version of android doesnt support it, try without the cmd). But it can be a tricky issue (installing the app with -g should grant all requested permissions)