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,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-close-device"
description = "Enables the close_device command without any pre-configured scope."
commands.allow = ["close_device"]
[[permission]]
identifier = "deny-close-device"
description = "Denies the close_device command without any pre-configured scope."
commands.deny = ["close_device"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-list-devices"
description = "Enables the list_devices command without any pre-configured scope."
commands.allow = ["list_devices"]
[[permission]]
identifier = "deny-list-devices"
description = "Denies the list_devices command without any pre-configured scope."
commands.deny = ["list_devices"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-open-device"
description = "Enables the open_device command without any pre-configured scope."
commands.allow = ["open_device"]
[[permission]]
identifier = "deny-open-device"
description = "Denies the open_device command without any pre-configured scope."
commands.deny = ["open_device"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-request-permission"
description = "Enables the request_permission command without any pre-configured scope."
commands.allow = ["request_permission"]
[[permission]]
identifier = "deny-request-permission"
description = "Denies the request_permission command without any pre-configured scope."
commands.deny = ["request_permission"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-set-playback-active"
description = "Enables the set_playback_active command without any pre-configured scope."
commands.allow = ["set_playback_active"]
[[permission]]
identifier = "deny-set-playback-active"
description = "Denies the set_playback_active command without any pre-configured scope."
commands.deny = ["set_playback_active"]
@@ -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>