Code

Apply fix for Trac #3558
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Feb 2010 20:02:48 +0000 (20:02 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Feb 2010 20:02:48 +0000 (20:02 +0000)
Add missing set_acl_category call because otherwise its not
possible to delete incoming devices unless you are a gosa
super user.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15603 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 9375e8e8f96844a04b3734a1b12e9a60765d56f2..e4c6e77772d5d836535516b945f786d915285332 100644 (file)
@@ -918,6 +918,7 @@ class systems extends plugin
             if(in_array($type,array("ArpNewDevice","NewDevice")) && class_available("termgeneric")){
               $this->systab= new termgeneric($this->config, $dn);
               $this->systab->set_acl_base($dn);
+              $this->systab->set_acl_category("terminal");
               $this->systab->remove_from_parent();
             }elseif($tabtype=="phonetabs"){
               $this->systab= new $tabtype($this->config, $this->config->data['TABS'][$tabobj], $dn,$type);