From: hickert Date: Mon, 28 Dec 2009 08:46:22 +0000 (+0000) Subject: Updated ACL Handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b36fd9bab7d8ae9b3706baa68130277c66d032c5;p=gosa.git Updated ACL Handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14948 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 68009793e..4a1ab628e 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -28,7 +28,7 @@ class aclManagement extends management // Tab definition protected $tabClass = "aclroletab"; - protected $tabType = NULL; + protected $tabType = "ACLROLETAB"; protected $aclCategory = "acl"; protected $aclPlugin = "acl"; protected $objectName = "acl"; @@ -68,11 +68,6 @@ class aclManagement extends management function removeEntryConfirmed($action="",$target=array(),$all=array(), $altTabClass="",$altTabType="",$altAclCategory="") { - $this->config->data['TABS'][$this->tabClass] =NULL; - $tabType = $this->tabType; - $tabClass = $this->tabClass; - $aclCategory = $this->aclCategory; - @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$target,"Entry removel confirmed!"); $headpage = $this->getHeadpage(); @@ -84,8 +79,10 @@ class aclManagement extends management if($headpage->getType($dn) == "gosaRole"){ $tabClass = "aclroletab"; + $tabTape = "ACLROLETAB"; }else{ $tabClass = "acltab"; + $tabTape = "ACLTAB"; } // Delete the object @@ -114,13 +111,11 @@ class aclManagement extends management $this->skipFooter = TRUE; $altTabClass = "aclroletab"; $altTabType = "ACLROLES"; - $this->config->data['TABS'][$altTabType] =NULL; management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory); } function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="") { - $this->config->data['TABS'][$this->tabClass] =NULL; $this->skipFooter = TRUE; if(count($target) == 1){ @@ -129,8 +124,10 @@ class aclManagement extends management $headpage = $this->getHeadpage(); if($headpage->getType($this->dn) == "gosaRole"){ $altTabClass = "aclroletab"; + $altTabType = "ACLROLETAB"; }else{ $altTabClass = "acltab"; + $altTabType = "ACLTAB"; } management::editEntry($action,array($this->dn),$all,$altTabClass,$altTabType,$altAclCategory); }