summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e743023)
raw | patch | inline | side by side (parent: e743023)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 15 Sep 2008 12:33:18 +0000 (12:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 15 Sep 2008 12:33:18 +0000 (12:33 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12458 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc | patch | blob | history |
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 fa45c888b6f0b491d8575af6c803cd7511414f6a..2967a40e99509e6511f62b1c31b8a9951f6e7767 100644 (file)
$DivRules = new divSelectBox("SpamRules");
$DivRules->SetHeight(130);
- if($this->acl_is_writeable("saTrustedNetworks")){
+ if(!$this->acl_is_writeable("saTrustedNetworks")){
$actions = "";
}else{
-
$actions = "<input type='image' src='images/lists/edit.png' name='editRule_%s'>";
if($this->acl_is_writeable("saRule")){
$actions.= "<input type='image' src='images/lists/trash.png' name='delRule_%s'>";