mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-10-19 07:04:10 +00:00
Add REMOTE_USB connection type and usb control permission
Adds ConnType::REMOTE_USB for the RemoteUsb feature (rustdesk/rustdesk#16278), following the same pattern as TERMINAL, and ControlPermissions.Permission.usb so USB forwarding can be controlled centrally like the other permissions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: AzimovIz <sergo.p.987@gmail.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
94ec710894
commit
bee7c2458c
@@ -24,6 +24,7 @@ enum ConnType {
|
||||
RDP = 3;
|
||||
VIEW_CAMERA = 4;
|
||||
TERMINAL = 5;
|
||||
REMOTE_USB = 6;
|
||||
}
|
||||
|
||||
message RegisterPeerResponse { bool request_pk = 2; }
|
||||
@@ -61,6 +62,7 @@ message ControlPermissions {
|
||||
block_input = 10;
|
||||
remote_modify = 11;
|
||||
privacy_mode = 12;
|
||||
usb = 13;
|
||||
}
|
||||
uint64 permissions = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user