mirror of
https://github.com/webmin/webmin.git
synced 2026-08-04 15:10:41 +01:00
Check ACL when deleting
This commit is contained in:
@@ -5,6 +5,7 @@ require './sendmail-lib.pl';
|
||||
require './domain-lib.pl';
|
||||
&ReadParse();
|
||||
&error_setup($text{'ddelete_err'});
|
||||
$access{'domains'} || &error($text{'domains_ecannot'});
|
||||
$conf = &get_sendmailcf();
|
||||
$vfile = &domains_file($conf);
|
||||
($vdbm, $vdbmtype) = &domains_dbm($conf);
|
||||
|
||||
@@ -5,6 +5,7 @@ require './sendmail-lib.pl';
|
||||
require './mailers-lib.pl';
|
||||
&ReadParse();
|
||||
&error_setup($text{'mdelete_err'});
|
||||
$access{'mailers'} || &error($text{'mailers_cannot'});
|
||||
$conf = &get_sendmailcf();
|
||||
$vfile = &mailers_file($conf);
|
||||
($vdbm, $vdbmtype) = &mailers_dbm($conf);
|
||||
|
||||
Reference in New Issue
Block a user