[Web] Fix sieve example insert

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

No files matched your search

+1 -1
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();