This commit is contained in:
LFeng committed 2026-09-28 00:20:16 +08:00
1 parent 75f7e94ae1
commit a5e5657275
145 files changed
+19426 -1

No files matched your search

@@ -0,0 +1,152 @@
## 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>