From f30313ae79c90c68217ae46daf9cdb0cdc2db16e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 6 Dec 2006 07:26:13 +0000 Subject: [PATCH] And the last on, department base select and acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5320 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/departments/class_departmentGeneric.inc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index ae6d5492b..e81da37b5 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -97,9 +97,6 @@ class department extends plugin $this->config->make_idepartments(); $smarty= get_smarty(); - /* Assign base ACL */ - $smarty->assign("baseACL", $this->getacl("base")); - $tmp = $this->plInfo(); foreach($tmp['plProvidedAcls'] as $name => $translation){ $smarty->assign($name."ACL",$this->getacl($name)); @@ -242,18 +239,6 @@ class department extends plugin /* Call common method to give check the hook */ $message= plugin::check(); - - /* Set new acl base */ - if($this->dn == "new") { - $this->set_acl_base($this->base); - } - - /* Permissions for that base? */ - // $this->dn= "ou=$this->ou,".$this->base; - if (!$this->acl_is_createable() && $this->dn == "new"){ - $message[]= _("You have no permissions to create a department on this 'Base'."); - } - /* Check for presence of this department */ $ldap= $this->config->get_ldap_link(); $ldap->ls ("(&(ou=".$this->ou.")(objectClass=organizationalUnit))", $this->base, array('dn')); -- 2.30.2