++ implementation of optional usb permissions