Skip to content

Commit

Permalink
Add missing permissions check when saving allowed cron users
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Feb 19, 2022
1 parent f472208 commit eeeea3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cron/save_allow.cgi
Expand Up @@ -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});
Expand Down

0 comments on commit eeeea3c

Please sign in to comment.