mirror of
https://github.com/webmin/webmin.git
synced 2026-08-04 15:10:41 +01:00
Check ACL on restart
This commit is contained in:
@@ -667,6 +667,7 @@ start_ftsq=Failed to start Squid
|
||||
start_ecannot=You are not allowed to start Squid
|
||||
stop_ftsq=Failed to stop Squid
|
||||
stop_ecannot=You are not allowed to stop Squid
|
||||
restart_ecannot=You are not allowed to apply the Squid configuration
|
||||
|
||||
calamaris_ecannot=You are not allowed to access Calamaris log analysis
|
||||
calamaris_title=Calamaris Log Analysis
|
||||
|
||||
@@ -10,6 +10,7 @@ our (%text, %in, %access, $squid_version, %config);
|
||||
require './squid-lib.pl';
|
||||
&ReadParse();
|
||||
&error_setup($text{'restart_ftrs'});
|
||||
$access{'restart'} || &error($text{'restart_ecannot'});
|
||||
my $err = &apply_configuration();
|
||||
&error($err) if ($err);
|
||||
&webmin_log("apply");
|
||||
|
||||
Reference in New Issue
Block a user