[Web] Fix sieve example insert

This commit is contained in:
andryyy
2020-03-19 12:46:39 +01:00
parent e1897b0631
commit 2b1ff6c9a3
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ function presets($_action, $_kind) {
global $lang;
switch ($_action) {
case 'get':
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
return false;
}
$presets = array();