summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86c2066)
raw | patch | inline | side by side (parent: 86c2066)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Apr 2010 13:13:30 +0000 (13:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Apr 2010 13:13:30 +0000 (13:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17822 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history | |
gosa-core/plugins/admin/acl/class_aclManagement.inc | patch | blob | history |
index 26ca752f6e32a979198baacb3da6ad4306453a44..e7f93e01a65388f4686cb4d96e3f91039cc17c52 100644 (file)
// Check permissons for each target
$h = $this->getHeadpage();
- $oTypes = $h->objectTypes;
+ $oTypes = array_reverse($h->objectTypes);
foreach($target as $dn){
$entry = $h->getEntry($dn);
$obj = $h->getObjectType($oTypes, $entry['objectClass']);
// Check permissons for each target
$h = $this->getHeadpage();
- $oTypes = $h->objectTypes;
+ $oTypes = array_reverse($h->objectTypes);
foreach($this->dns as $key => $dn){
$entry = $h->getEntry($dn);
$obj = $h->getObjectType($oTypes, $entry['objectClass']);
diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc
index 8a8a7756cb63ef04930871ea43da489bdf900e7f..a6eae23dc0578b9f4f1ca35fceb8b4277e758315 100644 (file)
if($headpage->getType($dn) == "gosaRole"){
$tabClass = "aclroletab";
- $tabTape = "ACLROLETAB";
+ $tabType = "ACLROLETAB";
}else{
$tabClass = "acltab";
- $tabTape = "ACLTAB";
+ $tabType = "ACLTAB";
}
// Delete the object
$this->dn = $dn;
- $this->tabObject= new $tabClass($this->config,$this->config->data['TABS'][$tabType], $this->dn, $aclCategory, true, true);
+ $this->tabObject= new $tabClass($this->config,$this->config->data['TABS'][$tabType], $this->dn, 'acl', true, true);
$this->tabObject->set_acl_base($this->dn);
$this->tabObject->delete ();
$this->tabObject->parent = &$this;