events.cgi: add read-only-mode

This commit is contained in:
Milan
2022-04-22 13:36:36 +02:00
parent d9f853dee5
commit 36204c5a6b
4 changed files with 5 additions and 1 deletions

View File

@@ -230,6 +230,7 @@ sub check_params($$) {
till_date => $till_date,
event_id => $event_id,
debug => $debug,
ro => $params->{ro}//'' ? 1 : 0
};
}

View File

@@ -1828,7 +1828,8 @@ sub check_params ($$) {
disable_event_sync => $disable_event_sync,
extern => $extern,
recordings => $recordings,
set_no_listen_keys => $set_no_listen_keys
set_no_listen_keys => $set_no_listen_keys,
ro => ($params->{ro}//'') ? 1 : 0
};
return $checked;