Code

Added goVirusServer service
[gosa.git] / plugins / admin / systems / class_goSpamServer.inc
index e52198d13c9625aa7713418879d56109d6e61300..055496bf8bafb945fdb438285b39b5081671ff9a 100644 (file)
@@ -45,7 +45,8 @@ class goSpamServer extends plugin{
     $this->ui = get_userinfo();
 
     /* Set up the users ACL's for this 'dn' */
-    $this->acl= get_permissions ($this->dn, $this->ui->subtreeACL);
+    $acl= get_permissions ($this->dn, $this->ui->subtreeACL);
+    $this->acl= get_module_permission($acl, "goSpamServer", $this->ui->dn);
 
     /* Get Flags */
     foreach($this->Flags as $flag){
@@ -181,7 +182,7 @@ class goSpamServer extends plugin{
 
     /* Create divlist */
     $DivRules = new divSelectBox("SpamRules");
-    $DivRules->SetHeight(150);
+    $DivRules->SetHeight(130);
 
     if(preg_match("/disabled/",chkacl($this->acl,"saTrustedNetworks"))){
       $actions = "";