Code

Updated ACLs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 12:47:39 +0000 (12:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 12:47:39 +0000 (12:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16909 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc

index 5c24ddc65a077752f909ad8db9b702f762b2818a..173e554592a38a4f2ab4e5eb39ed1af5d8fa0305 100644 (file)
@@ -291,6 +291,7 @@ class licensePoolGeneric extends plugin
       $id = trim($_GET['id']);
       if(isset($this->licenses[$id])){
         $this->dialog = new licenseGeneric($this->config,$this->dn,$this->licenses[$id], $this->opsiHosts);
+        $this->dialog->set_acl_category('opsi');
         $this->dialog->set_acl_base($this->config->current['BASE']);
       }
     }
@@ -368,6 +369,7 @@ class licensePoolGeneric extends plugin
       if(preg_match("/w/",$this->getacl("licenses"))){
         if(isset($_POST['addLicense'])){
           $this->dialog = new licenseGeneric($this->config,$this->dn,array(), $this->opsiHosts);
+          $this->dialog->set_acl_category('opsi');
           $this->dialog->set_acl_base($this->config->current['BASE']);
         }
       }
@@ -379,6 +381,7 @@ class licensePoolGeneric extends plugin
             $id = preg_replace("/^editLicense_(.*)$/","\\1",$name);
             if(isset($this->licenses[$id])){
               $this->dialog = new licenseGeneric($this->config,$this->dn,$this->licenses[$id], $this->opsiHosts);
+              $this->dialog->set_acl_category('opsi');
               $this->dialog->set_acl_base($this->config->current['BASE']);
             }
             break;