summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a3a0edf)
raw | patch | inline | side by side (parent: a3a0edf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 07:26:13 +0000 (07:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 07:26:13 +0000 (07:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5320 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index ae6d5492bb14d620edc4cceaf89aa67067afab61..e81da37b57d83acb4903643c90b147e55ee58386 100644 (file)
$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));
/* 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'));