allow omitting permissions in config

This commit is contained in:
Scott Lamb 2022-03-16 17:51:13 -07:00
parent 4addf3c90c
commit e9ac61f15c
1 changed files with 5 additions and 0 deletions

View File

@ -94,8 +94,13 @@ pub enum AddressConfig {
#[derive(Debug, Default, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct Permissions {
#[serde(default)]
view_video: bool,
#[serde(default)]
read_camera_configs: bool,
#[serde(default)]
update_signals: bool,
}