Add missing permissions check when saving allowed cron users

This commit is contained in:
Jamie Cameron
2022-02-19 13:10:36 -08:00
parent f472208894
commit eeeea3c097

View File

@@ -4,6 +4,7 @@
require './cron-lib.pl';
&ReadParse();
$access{'allow'} || &error($text{'allow_ecannot'});
&lock_file($config{cron_allow_file});
&lock_file($config{cron_deny_file});