X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_workstationGeneric.inc;h=0330d015e3443af3949ddf272230a2ca545aad1f;hb=3b025e5d5db6344c74ff93b07a4ffb351ce4dc1b;hp=0676dca180d9892edaeaf8b8bd4f921e98c95487;hpb=ad87f82499b3973598c353aa8d61ba4ed0ed20a2;p=gosa.git diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc index 0676dca18..0330d015e 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -220,7 +220,6 @@ class workgeneric extends plugin if($this->dialog->isClosed()){ $this->dialog = false; }elseif($this->dialog->isSelected()){ - $this->base = $this->dialog->isSelected(); /* A new base was selected, check if it is a valid one */ $tmp = $this->get_allowed_bases(); @@ -249,9 +248,6 @@ class workgeneric extends plugin /* Fill templating stuff */ $smarty= get_smarty(); - /* Create base acls */ - $smarty->assign("baseACL", $this->getacl("base")); - /* Set acls */ $tmp = $this->plInfo(); foreach($tmp['plProvidedAcls'] as $name => $translation){ @@ -387,16 +383,6 @@ class workgeneric extends plugin $this->dn= "cn=".$this->cn.",ou=workstations,ou=systems,".$this->base; - /* Set new acl base */ - if($this->dn == "new") { - $this->set_acl_base($this->base); - } - - if ($this->orig_dn == "new" && !$this->acl_is_createable()){ - $message[]= _("You have no permissions to create a workstation on this 'Base'."); - } - - if ($this->cn == ""){ $message[]= _("The required field 'Workstation name' is not set."); }