mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-10-27 14:39:59 +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:
1 parent
94ec710894
commit
bee7c2458c
1 file changed
+2
@@ -24,6 +24,7 @@ enum ConnType {
|
|||||||
RDP = 3;
|
RDP = 3;
|
||||||
VIEW_CAMERA = 4;
|
VIEW_CAMERA = 4;
|
||||||
TERMINAL = 5;
|
TERMINAL = 5;
|
||||||
|
REMOTE_USB = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RegisterPeerResponse { bool request_pk = 2; }
|
message RegisterPeerResponse { bool request_pk = 2; }
|
||||||
@@ -61,6 +62,7 @@ message ControlPermissions {
|
|||||||
block_input = 10;
|
block_input = 10;
|
||||||
remote_modify = 11;
|
remote_modify = 11;
|
||||||
privacy_mode = 12;
|
privacy_mode = 12;
|
||||||
|
usb = 13;
|
||||||
}
|
}
|
||||||
uint64 permissions = 1;
|
uint64 permissions = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user