fix permissions management of mediadeviceinfo access