diff --git a/protos/message.proto b/protos/message.proto index 721af450b..bf37a0c86 100644 --- a/protos/message.proto +++ b/protos/message.proto @@ -635,6 +635,7 @@ message PermissionInfo { Restart = 5; Recording = 6; BlockInput = 7; + PrivacyMode = 8; } Permission permission = 1; diff --git a/protos/rendezvous.proto b/protos/rendezvous.proto index 12e166d4c..c2dad0356 100644 --- a/protos/rendezvous.proto +++ b/protos/rendezvous.proto @@ -44,6 +44,7 @@ message ControlPermissions { recording = 9; block_input = 10; remote_modify = 11; + privacy_mode = 12; } uint64 permissions = 1; } diff --git a/src/config.rs b/src/config.rs index 87fbe8524..24a166858 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2804,6 +2804,7 @@ pub mod keys { pub const OPTION_ENABLE_REMOTE_RESTART: &str = "enable-remote-restart"; pub const OPTION_ENABLE_RECORD_SESSION: &str = "enable-record-session"; pub const OPTION_ENABLE_BLOCK_INPUT: &str = "enable-block-input"; + pub const OPTION_ENABLE_PRIVACY_MODE: &str = "enable-privacy-mode"; pub const OPTION_ALLOW_REMOTE_CONFIG_MODIFICATION: &str = "allow-remote-config-modification"; pub const OPTION_ALLOW_NUMERNIC_ONE_TIME_PASSWORD: &str = "allow-numeric-one-time-password"; pub const OPTION_ENABLE_LAN_DISCOVERY: &str = "enable-lan-discovery"; @@ -3032,6 +3033,7 @@ pub mod keys { OPTION_ENABLE_REMOTE_RESTART, OPTION_ENABLE_RECORD_SESSION, OPTION_ENABLE_BLOCK_INPUT, + OPTION_ENABLE_PRIVACY_MODE, OPTION_ALLOW_REMOTE_CONFIG_MODIFICATION, OPTION_ALLOW_NUMERNIC_ONE_TIME_PASSWORD, OPTION_ENABLE_LAN_DISCOVERY,