From: hickert Date: Fri, 8 Sep 2006 04:42:43 +0000 (+0000) Subject: Mimetype : Acl update X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83c6698ada6664749e5929267232d235f0cd3171;p=gosa.git Mimetype : Acl update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4620 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/mimetypes/class_mimetypeManagement.inc b/plugins/admin/mimetypes/class_mimetypeManagement.inc index 87b34ccb7..7bd52da85 100755 --- a/plugins/admin/mimetypes/class_mimetypeManagement.inc +++ b/plugins/admin/mimetypes/class_mimetypeManagement.inc @@ -242,7 +242,7 @@ class mimetypeManagement extends plugin /* Register mimetabs to trigger edit dialog */ - $this->mimetabs= new mimetabs($this->config,$this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes/mimetype"); + $this->mimetabs= new mimetabs($this->config,$this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes"); $this->mimetabs->set_acl_base($this->dn); $_SESSION['objectinfo']= $this->dn; } @@ -294,7 +294,7 @@ class mimetypeManagement extends plugin if ($this->acl_is_removeable()){ /* Delete request is permitted, perform LDAP action */ - $this->mimetabs= new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes/mimetype"); + $this->mimetabs= new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes"); $this->mimetabs->set_acl_base($this->dn); $this->mimetabs->delete (); gosa_log ("Mime type object'".$this->dn."' has been removed"); @@ -443,8 +443,10 @@ class mimetypeManagement extends plugin if($s_action == "copy"){ $this->CopyPasteHandler->Clear(); $dn = $this->mimetypes[$s_entry]['dn']; - $obj = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $dn); - $objNew = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], "new"); + $obj = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $dn,"mimetypes"); + $obj->set_acl_base($this->dn); + $objNew = new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], "new","mimetypes"); + $objNew->set_acl_base($this->dn); $this->CopyPasteHandler->Copy($obj,$objNew); }