153 lines
1.8 KiB
Markdown
153 lines
1.8 KiB
Markdown
## Default Permission
|
|
|
|
Allows the UAC feature to enumerate USB devices, request USB host
|
|
permission (system dialog), and open a UsbDeviceConnection (fd bridge to Rust/libusb).
|
|
|
|
#### This default permission set includes the following:
|
|
|
|
- `allow-list-devices`
|
|
- `allow-request-permission`
|
|
- `allow-open-device`
|
|
- `allow-close-device`
|
|
- `allow-set-playback-active`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:allow-close-device`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the close_device command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:deny-close-device`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the close_device command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:allow-list-devices`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the list_devices command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:deny-list-devices`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the list_devices command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:allow-open-device`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the open_device command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:deny-open-device`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the open_device command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:allow-request-permission`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the request_permission command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:deny-request-permission`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the request_permission command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:allow-set-playback-active`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the set_playback_active command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`usb:deny-set-playback-active`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the set_playback_active command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|