From 2951da5ae262f4575c26f0ca8db9b64653fd8845 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Sep 2008 12:33:18 +0000 Subject: [PATCH] Updated spam assassin service plugin -there was a bug in the ACL check, we couldn't remove rules with rw ACL git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12458 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/systems/services/spam/class_goSpamServer.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc index fa45c888b..2967a40e9 100644 --- a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc +++ b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc @@ -178,10 +178,9 @@ class gospamserver extends goService{ $DivRules = new divSelectBox("SpamRules"); $DivRules->SetHeight(130); - if($this->acl_is_writeable("saTrustedNetworks")){ + if(!$this->acl_is_writeable("saTrustedNetworks")){ $actions = ""; }else{ - $actions = ""; if($this->acl_is_writeable("saRule")){ $actions.= ""; -- 2.30.2