KASM-5466 add text rotation yaml config

This commit is contained in:
Matt McClaskey
2024-01-22 07:30:46 -05:00
parent 5456ccc072
commit 659a4198fc
3 changed files with 25 additions and 0 deletions

View File

@@ -1862,6 +1862,24 @@ sub DefineConfigToCLIConversion {
$offset_in_seconds/60;
}
}),
KasmVNC::CliOption->new({
name => 'DLP_WatermarkTextAngle',
configKeys => [
KasmVNC::ConfigKey->new({
name => "data_loss_prevention.watermark.text.angle",
validator => KasmVNC::CallbackValidator->new({
isValidCallback => sub {
my $value = shift;
return 0 unless $value =~ /^\d+$/;
$value >= -359 && $value <= 359;
},
errorMessage => "must be in range -359..359"
}),
})
]
}),
KasmVNC::CliOption->new({
name => 'DLP_Log',
configKeys => [