diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index 0676dca180d9892edaeaf8b8bd4f921e98c95487..0330d015e3443af3949ddf272230a2ca545aad1f 100644 (file)
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();
/* 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){
$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.");
}